-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
144 lines (144 loc) · 4.96 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "jssm",
"version": "5.32.12",
"engines": {
"node": ">=6.0.0"
},
"files": [
"dist/jssm.es5.cjs.js",
"dist/es6/jssm.js",
"dist/es6/jssm_util.js",
"dist/es6/jssm-dot.js",
"dist/es6/version.js",
"src/**/*.ts",
".nyc_output/**/*",
"src/tests/*.js",
".editorconfig",
".eslintrc",
".nycrc",
"tsconfig.json",
".codeclimate.yml",
"**/*.d.ts",
"CHANGELOG.md"
],
"autoupdate": {
"source": "git",
"target": "git://github.com/StoneCypher/jssm.git",
"fileMap": [
{
"basePath": "/dist",
"files": [
"jssm.es5.cjs.js"
]
}
]
},
"description": "A Javascript finite state machine (FSM) with a terse DSL and a simple API. Well tested, and typed with Flowtype. MIT License.",
"main": "dist/jssm.es5.cjs.js",
"module": "dist/es6/jssm.js",
"scripts": {
"test": "npm run make && npm run justtest",
"rmgenerated": "rm -f src/js/jssm-dot.ts && rm -f src/js/version.ts && rm -f *.d.ts",
"justtest": "cp dist/jssm.es5.cjs.js build && nyc ava src/js/tests/*.js -v && npm run nyc-html",
"removedir": "rm -rf build && rm -rf dist && rm -rf docs",
"createdir": "mkdir build && mkdir dist && mkdir docs",
"clean": "npm run removedir && npm run rmgenerated && npm run createdir",
"peg": "rm -f src/js/jssm-dot.js && pegjs src/js/jssm-dot.peg && node src/buildjs/fixparser.js && rm src/js/jssm-dot.js",
"make_cjs": "rollup -c",
"make_iife": "rollup -c rollup.config.iife.js",
"typescript": "tsc --build tsconfig.json && cp dist/es6/*.d.ts .",
"makever": "node src/buildjs/makever.js",
"make": "npm run clean && npm run makever && npm run peg && npm run typescript && npm run make_iife && npm run make_cjs && npm run minify && npm run min_iife && npm run min_cjs",
"eslint": "eslint src/js/jssm.ts src/js/jssm_types.ts src/js/tests/*.js",
"nyc-html": "nyc report --reporter=html -x \"src/js/jssm-dot.js\"",
"coverage": "nyc report -x \"src/js/jssm-dot.js\" --reporter=text-lcov > ./coverage/lcov.info",
"audit": "text_audit -t major wasteful any mixed fixme checkme testme stochable todo comeback whargarbl",
"vet": "npm run eslint && npm run audit",
"build": "npm run vet && npm run test && npm run docs && npm run site && npm run dist && rm -f src/js/jssm-dot.ts",
"zminify": "uglifyjs ./build/jssm.es5.cjs.js -o ./build/jssm.es5.cjs.min.js --compress",
"minify": "mv dist/es6/jssm-dot.js dist/es6/jssm-dot.nonmin.js && terser dist/es6/jssm-dot.nonmin.js > dist/es6/jssm-dot.js",
"min_iife": "mv dist/jssm.es5.iife.js dist/jssm.es5.iife.nonmin.js && terser dist/jssm.es5.iife.nonmin.js > dist/jssm.es5.iife.js",
"min_cjs": "mv dist/jssm.es5.cjs.js dist/jssm.es5.cjs.nonmin.js && terser dist/jssm.es5.cjs.nonmin.js > dist/jssm.es5.cjs.js",
"dist": "cp build/jssm.*.js dist/",
"site": "cp src/site/* docs/",
"docs": "documentation build src/js/** -f html -o docs/lib && npm run changelog",
"changelog": "rm -f CHANGELOG.md && changelog-maker -a > CHANGELOG.md",
"githubaction": "npm run build && npm run coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/StoneCypher/jssm.git"
},
"keywords": [
"finite",
"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",
"mealy",
"moore",
"mealy machine",
"moore machine",
"mealy-machine",
"moore-machine",
"graphviz",
"viz.js",
"flowchart",
"visualization",
"StoneCypher"
],
"author": "John Haugeland <stonecypher@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/StoneCypher/jssm/issues"
},
"homepage": "https://stonecypher.github.io/jssm/",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"ava": "^1.4.1",
"ava-spec": "^1.1.1",
"changelog-maker": "^2.3.2",
"coveralls": "^3.0.11",
"documentation": "^12.3.0",
"eslint": "^6.8.0",
"eslint-config-stonecypher": "^1.15.11",
"eslint-plugin-ava": "^9.0.0",
"eslint-plugin-flowtype": "^2.35.0",
"eslint-plugin-fp": "^2.3.0",
"eslint-plugin-jsdoc": "^20.4.0",
"eslint-plugin-new-with-error": "^2.0.0",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-unicorn": "^15.0.1",
"glob": "^7.1.6",
"nyc": "^15.0.1",
"pegjs": "^0.10.0",
"reduce-to-639-1": "^1.0.4",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-typescript2": "^0.27.0",
"semver": "^5.7.1",
"terser": "^4.6.11",
"typescript": "^3.8.3",
"uglify-js": "^3.8.1",
"viz.js": "^1.7.1"
},
"dependencies": {
"text_audit": "^0.9.3"
}
}