-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
69 lines (69 loc) · 2.76 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
{
"name": "jssm",
"version": "0.19.1",
"description": "A Javascript state machine with a simple API. Well tested, and typed with Flowtype. MIT License.",
"main": "dist/jssm.es5.browserified.js",
"scripts": {
"test": "ava src/js/jssm-tests.js",
"test-verbose": "ava src/js/jssm-tests.js -v",
"clean": "rimraf build -f && rimraf dist -f",
"babel": "babel src/js -d build/",
"setver": "node ./set_version.js",
"rename": "node -e \"require('fs').renameSync('./build/jssm.js', './build/jssm.es5.js');\"",
"pack": "browserify -r ./build/jssm.es5.js:jssm -o build/jssm.es5.amd.js",
"make": "npm run clean && npm run babel && npm run rename && npm run setver && npm run pack",
"flow": "flow",
"eslint": "eslint src/js/jssm.js",
"vet": "npm run flow && npm run eslint",
"audit": "echo \\\"major\\\" remaining. . : `grep major src/js/jssm.js | wc -l`\\\\n\\\"wasteful\\\" remaining : `grep wasteful src/js/jssm.js | wc -l`\\\\n\\\"any\\\" remaining. . . : `grep any src/js/jssm.js | wc -l`\\\\n\\\"mixed\\\" remaining. . : `grep mixed src/js/jssm.js | wc -l`\\\\n\\\"todo\\\" remaining . . : `grep todo src/js/jssm.js | wc -l`\\\\n\\\"nextdo\\\" remaining . : `grep nextdo src/js/jssm.js | wc -l`\\\\n\\\"whargarbl\\\" remaining: `grep whargarbl src/js/jssm.js | wc -l`\\\\n\\\"comeback\\\" remaining : `grep comeback src/js/jssm.js | wc -l`\\\\n\\\"fixme\\\" remaining. . : `grep fixme src/js/jssm.js | wc -l`\\\\n\\\"checkme\\\" remaining. : `grep checkme src/js/jssm.js | wc -l`",
"build": "npm run vet && npm run make && npm run test-verbose && npm run audit",
"postinstall": "npm run build",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/StoneCypher/jssm.git"
},
"keywords": [
"state",
"state machine",
"state-machine",
"machine",
"finite-state-machine",
"finite state machine",
"fsm",
"fsm-library",
"js",
"javascript",
"javascript-library",
"mit-license",
"tested",
"typed",
"typed-js",
"flowtype",
"StoneCypher"
],
"author": "John Haugeland <stonecypher@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/StoneCypher/jssm/issues"
},
"homepage": "https://github.com/StoneCypher/jssm#readme",
"devDependencies": {
"ava": "^0.19.1",
"ava-spec": "^1.1.0",
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"browserify": "^14.3.0",
"del-cli": "^0.2.1",
"eslint": "^3.19.0",
"eslint-plugin-flowtype": "^2.32.1",
"flow-bin": "^0.45.0",
"gulp-string-replace": "^0.4.0",
"rimraf": "^2.6.1",
"viz.js": "^1.7.1"
}
}