-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.6 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
{
"name": "wordcloud",
"version": "1.0.0",
"main": "dist/wordcloud.js",
"scripts": {
"lint": "eslint src webpack.config.babel.js",
"fix": "eslint src webpack.config.babel.js --fix",
"start": "start cmd.exe @cmd /k \"yarn run build.dev.watch\" && start cmd.exe @cmd /k \"yarn run node.dev\" && yarn run test.watch",
"node.dev": "node dist/wordcloud.dev.js",
"build.dev": "webpack --config webpack.config.babel.js",
"build.dev.watch": "webpack --watch --config webpack.config.babel.js",
"build.documentation": "documentation build -g -f \"md\" -o dist/documentation.md src/math/vector.js src/svg/dom/index.js",
"build.prod.min": "webpack --config webpack.config.babel.js --env.prod --optimize-minimize",
"build.prod.binary": "path-exists dist/wordcloud.js && nexe -i dist/wordcloud.js -o dist/wordcloud.bin || echo Please execute `$ yarn run build.min` before you can continue to bundle the binary.",
"build": "yarn build.documentation && yarn run build.prod.min && yarn run build.prod.binary",
"test": "cross-env NODE_ENV=test nyc --check-coverage --lines 100 --functions 100 --branches 100 --reporter=html --reporter=text ava --require=babel-register --verbose -c 1",
"test.watch": "ava --watch --require=babel-register",
"history": "git log --pretty=format:\"%h %s\" --graph"
},
"engines": {
"node": ">=6.0.0"
},
"repository": {
"url": "https://github.com/Vailfire/wordcloud",
"type": "git"
},
"author": "Calvin Reibenspieß",
"license": "MIT",
"dependencies": {
"commander": "^2.9.0"
},
"devDependencies": {
"ava": "^0.16.0",
"babel-core": "^6.17.0",
"babel-loader": "^6.2.5",
"babel-plugin-istanbul": "^2.0.3",
"babel-preset-latest": "^6.16.0",
"babel-preset-stage-3": "^6.17.0",
"babel-register": "^6.16.3",
"cross-env": "^3.1.3",
"documentation": "^4.0.0-beta11",
"eslint": "^3.8.0",
"eslint-cli": "^1.1.0",
"eslint-config-airbnb-base": "^8.0.0",
"eslint-loader": "^1.5.0",
"eslint-plugin-import": "^2.0.1",
"nexe": "^1.1.2",
"nyc": "^8.3.2",
"path-exists-cli": "^1.0.0",
"webpack": "^2.1.0-beta.25"
},
"babel": {
"presets": [
"latest",
"stage-3"
],
"env": {
"test": {
"plugins": [ "istanbul" ]
}
}
},
"nyc": {
"include": [
"src/**/*.js"
],
"require": [
"babel-register"
],
"sourceMap": false,
"instrument": false
},
"ava": {
"babel": "inherit"
},
"eslintConfig": {
"env": {
"node": true
},
"rules": {
"no-console": "off"
},
"extends": "airbnb-base"
}
}