-
-
Notifications
You must be signed in to change notification settings - Fork 293
/
package.json
89 lines (89 loc) · 3.34 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "pangu",
"description": "Paranoid text spacing for good readability, to automatically insert whitespace between CJK (Chinese, Japanese, Korean) and half-width characters (alphabetical letters, numerical digits and symbols).",
"keywords": [
"pangu",
"text-spacing",
"spacing",
"text",
"html",
"typesetting",
"readability",
"cli",
"chinese",
"japanese",
"korean",
"obsessive-compulsive-disorder",
"ocd",
"paranoia"
],
"version": "4.0.7",
"author": {
"name": "Vinta Chen",
"email": "[email protected]",
"url": "https://vinta.ws/code/"
},
"license": "MIT",
"homepage": "https://github.com/vinta/pangu.js",
"repository": {
"type": "git",
"url": "git://github.com/vinta/pangu.js.git"
},
"bugs": {
"url": "https://github.com/vinta/pangu.js/issues"
},
"main": "./dist/node/index.js",
"browser": "./dist/browser/pangu.js",
"bin": {
"pangu": "./dist/node/cli.js"
},
"scripts": {
"pack:chrome": "npm run build:browser && cp -rf ./dist/browser/pangu.min.js ./browser_extensions/chrome/vendors/pangu/pangu.min.js && cd ./browser_extensions/chrome/ && zip -q -r -0 ../paranoid-auto-spacing.zip . && zip -j ../paranoid-auto-spacing.zip ~/Dropbox/Projects/paranoid-auto-spacing/key.pem",
"pack:firefox": "node ./browser_extensions/firefox/pack.js",
"pack": "npm run pack:chrome && npm run pack:firefox",
"clear:shared": "rm -rf ./dist/shared/",
"clear:browser": "rm -rf ./dist/browser/",
"clear:node": "rm -rf ./dist/node/",
"clear": "npm run clear:shared && npm run clear:browser && npm run clear:node",
"build:shared": "npm run clear:shared && babel src/shared/ -d dist/shared/",
"build:browser": "npm run clear:browser && webpack",
"build:node": "npm run clear:node && babel src/node/ -d dist/node/",
"build": "npm run build:shared && npm run build:browser && npm run build:node",
"test:shared": "npm run build:shared && mocha --require @babel/register test/shared/",
"test:browser": "npm run build:browser && karma start",
"test:node": "npm run build:node && mocha --require @babel/register test/node/",
"test": "npm run test:shared && npm run test:browser && npm run test:node",
"watch:shared": "watch 'npm run test:shared' src/shared test/shared/",
"watch:browser": "watch 'npm run test:browser' src/shared src/browser test/browser/",
"watch:node": "watch 'npm run test:node' src/shared src/node test/node/",
"watch:pack": "watch 'npm run pack' src/shared src/browser test/browser/"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@babel/preset-env": "7.2.3",
"@babel/register": "7.0.0",
"babel-loader": "8.0.4",
"benchmark": "2.1.4",
"chai": "4.2.0",
"eslint": "5.11.1",
"eslint-config-airbnb-base": "13.1.0",
"eslint-plugin-import": "2.14.0",
"karma": "3.1.4",
"karma-babel-preprocessor": "8.0.0-beta.0",
"karma-chrome-launcher": "2.2.0",
"karma-coverage": "1.1.2",
"karma-html2js-preprocessor": "1.1.0",
"karma-mocha": "1.3.0",
"karma-mocha-reporter": "2.2.5",
"karma-sourcemap-loader": "0.3.7",
"mocha": "5.2.0",
"puppeteer": "1.13.0",
"terser": "3.13.1",
"terser-webpack-plugin": "1.2.1",
"underscore": "1.9.1",
"watch": "1.0.2",
"webpack": "4.28.3",
"webpack-cli": "3.1.2"
}
}