1 | {
|
2 | "name": "jssm",
|
3 | "version": "5.32.20",
|
4 | "engines": {
|
5 | "node": ">=6.0.0"
|
6 | },
|
7 | "autoupdate": {
|
8 | "source": "git",
|
9 | "target": "git://github.com/StoneCypher/jssm.git",
|
10 | "fileMap": [
|
11 | {
|
12 | "basePath": "/dist",
|
13 | "files": [
|
14 | "jssm.es5.cjs.js"
|
15 | ]
|
16 | }
|
17 | ]
|
18 | },
|
19 | "description": "A Javascript finite state machine (FSM) with a terse DSL and a simple API. Well tested, and typed with Flowtype. MIT License.",
|
20 | "main": "dist/jssm.es5.cjs.js",
|
21 | "module": "dist/es6/jssm.js",
|
22 | "types": "./jssm.d.ts",
|
23 | "scripts": {
|
24 | "test": "npm run make && npm run justtest",
|
25 | "rmgenerated": "rm -f src/js/jssm-dot.ts && rm -f src/js/version.ts && rm -f *.d.ts",
|
26 | "justtest": "cp dist/jssm.es5.cjs.js build && nyc ava src/js/tests/*.js -v && npm run nyc-html",
|
27 | "removedir": "rm -rf build && rm -rf dist && rm -rf docs",
|
28 | "createdir": "mkdir build && mkdir dist && mkdir docs",
|
29 | "clean": "npm run removedir && npm run rmgenerated && npm run createdir",
|
30 | "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",
|
31 | "make_cjs": "rollup -c",
|
32 | "make_iife": "rollup -c rollup.config.iife.js",
|
33 | "typescript": "tsc --build tsconfig.json && cp dist/es6/*.d.ts .",
|
34 | "makever": "node src/buildjs/makever.js",
|
35 | "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",
|
36 | "eslint": "eslint src/js/jssm.ts src/js/jssm_types.ts src/js/tests/*.js",
|
37 | "nyc-html": "nyc report --reporter=html -x \"src/js/jssm-dot.js\"",
|
38 | "coverage": "nyc report -x \"src/js/jssm-dot.js\" --reporter=text-lcov > ./coverage/lcov.info",
|
39 | "audit": "text_audit -t major wasteful any mixed fixme checkme testme stochable todo comeback whargarbl",
|
40 | "vet": "npm run eslint && npm run audit",
|
41 | "build": "npm run vet && npm run test && npm run docs && npm run site && npm run dist && rm -f src/js/jssm-dot.ts",
|
42 | "zminify": "uglifyjs ./build/jssm.es5.cjs.js -o ./build/jssm.es5.cjs.min.js --compress",
|
43 | "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",
|
44 | "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",
|
45 | "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",
|
46 | "dist": "cp build/jssm.*.js dist/",
|
47 | "site": "cp src/site/* docs/",
|
48 | "docs": "documentation build src/js/** -f html -o docs/lib && npm run changelog",
|
49 | "changelog": "rm -f CHANGELOG.md && changelog-maker -a > CHANGELOG.md",
|
50 | "githubaction": "npm run build && npm run coverage"
|
51 | },
|
52 | "repository": {
|
53 | "type": "git",
|
54 | "url": "git+https://github.com/StoneCypher/jssm.git"
|
55 | },
|
56 | "keywords": [
|
57 | "finite",
|
58 | "state",
|
59 | "state machine",
|
60 | "state-machine",
|
61 | "machine",
|
62 | "finite-state-machine",
|
63 | "finite state machine",
|
64 | "fsm",
|
65 | "fsm-library",
|
66 | "js",
|
67 | "javascript",
|
68 | "javascript-library",
|
69 | "mit-license",
|
70 | "tested",
|
71 | "typed",
|
72 | "typed-js",
|
73 | "flowtype",
|
74 | "mealy",
|
75 | "moore",
|
76 | "mealy machine",
|
77 | "moore machine",
|
78 | "mealy-machine",
|
79 | "moore-machine",
|
80 | "graphviz",
|
81 | "viz.js",
|
82 | "flowchart",
|
83 | "visualization",
|
84 | "StoneCypher"
|
85 | ],
|
86 | "author": "John Haugeland <stonecypher@gmail.com>",
|
87 | "license": "MIT",
|
88 | "bugs": {
|
89 | "url": "https://github.com/StoneCypher/jssm/issues"
|
90 | },
|
91 | "homepage": "https://stonecypher.github.io/jssm/",
|
92 | "devDependencies": {
|
93 | "@typescript-eslint/eslint-plugin": "^2.27.0",
|
94 | "@typescript-eslint/parser": "^2.27.0",
|
95 | "ava": "^1.4.1",
|
96 | "ava-spec": "^1.1.1",
|
97 | "changelog-maker": "^2.3.2",
|
98 | "coveralls": "^3.0.11",
|
99 | "documentation": "^12.3.0",
|
100 | "eslint": "^6.8.0",
|
101 | "eslint-config-stonecypher": "^1.15.11",
|
102 | "eslint-plugin-ava": "^9.0.0",
|
103 | "eslint-plugin-flowtype": "^2.35.0",
|
104 | "eslint-plugin-fp": "^2.3.0",
|
105 | "eslint-plugin-jsdoc": "^20.4.0",
|
106 | "eslint-plugin-new-with-error": "^2.0.0",
|
107 | "eslint-plugin-promise": "^3.6.0",
|
108 | "eslint-plugin-react": "^7.19.0",
|
109 | "eslint-plugin-unicorn": "^15.0.1",
|
110 | "glob": "^7.1.6",
|
111 | "nyc": "^15.0.1",
|
112 | "pegjs": "^0.10.0",
|
113 | "rollup": "^1.32.1",
|
114 | "rollup-plugin-commonjs": "^9.3.4",
|
115 | "rollup-plugin-node-resolve": "^4.2.3",
|
116 | "rollup-plugin-replace": "^2.2.0",
|
117 | "rollup-plugin-typescript2": "^0.27.0",
|
118 | "semver": "^5.7.1",
|
119 | "terser": "^4.6.11",
|
120 | "typescript": "^3.8.3",
|
121 | "uglify-js": "^3.8.1",
|
122 | "viz.js": "^1.7.1"
|
123 | },
|
124 | "dependencies": {
|
125 | "reduce-to-639-1": "^1.0.4",
|
126 | "text_audit": "^0.9.3"
|
127 | }
|
128 | }
|