1 | {
|
---|
2 | "name": "graphemer",
|
---|
3 | "version": "1.4.0",
|
---|
4 | "description": "A JavaScript library that breaks strings into their individual user-perceived characters (including emojis!)",
|
---|
5 | "homepage": "https://github.com/flmnt/graphemer",
|
---|
6 | "author": "Matt Davies <matt@filament.so> (https://github.com/mattpauldavies)",
|
---|
7 | "contributors": [
|
---|
8 | "Orlin Georgiev (https://github.com/orling)",
|
---|
9 | "Huáng Jùnliàng (https://github.com/JLHwung)"
|
---|
10 | ],
|
---|
11 | "main": "./lib/index.js",
|
---|
12 | "types": "./lib/index.d.ts",
|
---|
13 | "files": [
|
---|
14 | "lib"
|
---|
15 | ],
|
---|
16 | "license": "MIT",
|
---|
17 | "keywords": [
|
---|
18 | "utf-8",
|
---|
19 | "strings",
|
---|
20 | "emoji",
|
---|
21 | "split"
|
---|
22 | ],
|
---|
23 | "scripts": {
|
---|
24 | "prepublishOnly": "npm run build",
|
---|
25 | "build": "tsc --project tsconfig.json",
|
---|
26 | "pretest": "npm run build",
|
---|
27 | "test": "ts-node node_modules/tape/bin/tape tests/**.ts",
|
---|
28 | "prettier:check": "prettier --check .",
|
---|
29 | "prettier:fix": "prettier --write ."
|
---|
30 | },
|
---|
31 | "repository": {
|
---|
32 | "type": "git",
|
---|
33 | "url": "https://github.com/flmnt/graphemer.git"
|
---|
34 | },
|
---|
35 | "bugs": "https://github.com/flmnt/graphemer/issues",
|
---|
36 | "devDependencies": {
|
---|
37 | "@types/tape": "^4.13.0",
|
---|
38 | "husky": "^4.3.0",
|
---|
39 | "lint-staged": "^10.3.0",
|
---|
40 | "prettier": "^2.1.1",
|
---|
41 | "tape": "^4.6.3",
|
---|
42 | "ts-node": "^9.0.0",
|
---|
43 | "typescript": "^4.0.2"
|
---|
44 | },
|
---|
45 | "husky": {
|
---|
46 | "hooks": {
|
---|
47 | "pre-commit": "lint-staged",
|
---|
48 | "pre-push": "npm test"
|
---|
49 | }
|
---|
50 | },
|
---|
51 | "lint-staged": {
|
---|
52 | "*.{js,ts,md,json}": "prettier --write"
|
---|
53 | }
|
---|
54 | }
|
---|