-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
128 lines (128 loc) · 4.53 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
{
"name": "jssm",
"version": "5.59.1",
"engines": {
"node": ">=10.0.0"
},
"exports": {
"require": "./dist/jssm.es5.cjs.js",
"import": "./dist/es6/jssm.js"
},
"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. Most FSMs are one-liners. Fast, easy, powerful, well tested, typed with TypeScript, and visualizations. MIT License.",
"main": "dist/jssm.es5.cjs.js",
"module": "dist/es6/jssm.js",
"types": "./jssm.d.ts",
"scripts": {
"jest-spec": "jest -c jest-spec.config.js --color --verbose",
"jest-stoch": "jest -c jest-stoch.config.js --color --verbose",
"jest": "npm run jest-spec",
"jjest": "npm run jest-spec && npm run jest-stoch",
"test": "npm run make && npm run jest",
"rmgenerated": "rm -f src/ts/jssm-dot.ts && rm -f src/ts/version.ts && rm -f *.d.ts",
"removedir": "rm -rf dist && rm -rf docs",
"createdir": "mkdir dist && mkdir docs",
"clean": "npm run removedir && npm run rmgenerated && npm run createdir",
"peg": "rm -f src/ts/jssm-dot.js && pegjs src/ts/jssm-dot.peg && node src/buildjs/fixparser.js && rm src/ts/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 --color src/ts/jssm.ts src/ts/jssm_types.ts src/ts/tests/*.ts",
"audit": "text_audit -r -t major MAJOR wasteful WASTEFUL any mixed fixme FIXME checkme CHECKME testme TESTME stochable STOCHABLE todo TODO comeback COMEBACK whargarbl WHARGARBL -g ./src/ts/**/*.{js,ts}",
"vet": "npm run eslint && npm run audit",
"benny": "node ./src/buildjs/benchmark.js",
"build": "npm run vet && npm run test && npm run site && npm run docs && npm run benny",
"ci_build": "npm run vet && npm run test && npm run benny",
"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",
"site": "cp src/site/* docs/",
"docs": "typedoc src/ts/jssm.ts --out docs/docs",
"changelog": "rm -f CHANGELOG.md && changelog-maker -a > CHANGELOG.md"
},
"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",
"mealy",
"moore",
"mealy machine",
"moore machine",
"mealy-machine",
"moore-machine",
"graphviz",
"viz.js",
"flowchart",
"visualization",
"TypeScript",
"StoneCypher"
],
"author": "John Haugeland <stonecypher@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/StoneCypher/jssm/issues"
},
"homepage": "https://stonecypher.github.io/jssm/",
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"benny": "^3.7.1",
"changelog-maker": "^2.3.2",
"coveralls": "^3.0.11",
"eslint": "^7.32.0",
"eslint-plugin-fp": "^2.3.0",
"eslint-plugin-new-with-error": "^2.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-unicorn": "^37.0.1",
"fast-check": "^2.12.0",
"glob": "^7.1.6",
"jest": "^27.3.1",
"pegjs": "^0.10.0",
"rollup": "^2.72.1",
"semver": "^5.7.1",
"terser": "^5.13.1",
"text_audit": "^0.9.3",
"ts-jest": "^27.0.7",
"tscheck": "^0.1.5",
"typedoc": "^0.22.15",
"typescript": "^4.6.4"
},
"dependencies": {
"reduce-to-639-1": "^1.0.4"
}
}