1 | {
|
2 | "name": "jssm",
|
3 | "version": "5.50.0",
|
4 | "engines": {
|
5 | "node": ">=10.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 TypeScript. MIT License.",
|
20 | "main": "dist/jssm.es5.cjs.js",
|
21 | "module": "dist/es6/jssm.js",
|
22 | "types": "./jssm.d.ts",
|
23 | "scripts": {
|
24 | "jest-spec": "jest -c jest-spec.config.js --color --verbose",
|
25 | "jest-stoch": "jest -c jest-stoch.config.js --color --verbose",
|
26 | "jest": "npm run jest-spec",
|
27 | "jjest": "npm run jest-spec && npm run jest-stoch",
|
28 | "test": "npm run make && npm run jest",
|
29 | "rmgenerated": "rm -f src/ts/jssm-dot.ts && rm -f src/ts/version.ts && rm -f *.d.ts",
|
30 | "removedir": "rm -rf dist && rm -rf docs",
|
31 | "createdir": "mkdir dist && mkdir docs",
|
32 | "clean": "npm run removedir && npm run rmgenerated && npm run createdir",
|
33 | "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",
|
34 | "make_cjs": "rollup -c",
|
35 | "make_iife": "rollup -c rollup.config.iife.js",
|
36 | "typescript": "tsc --build tsconfig.json && cp dist/es6/*.d.ts .",
|
37 | "makever": "node src/buildjs/makever.js",
|
38 | "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",
|
39 | "eslint": "eslint --color src/ts/jssm.ts src/ts/jssm_types.ts src/ts/tests/*.ts",
|
40 | "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}",
|
41 | "vet": "npm run eslint && npm run audit",
|
42 | "benny": "node ./src/buildjs/benchmark.js",
|
43 | "build": "npm run vet && npm run test && npm run site && npm run docs && npm run benny",
|
44 | "ci_build": "npm run vet && npm run test && npm run benny",
|
45 | "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",
|
46 | "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",
|
47 | "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",
|
48 | "site": "cp src/site/* docs/",
|
49 | "docs": "typedoc src/ts/jssm.ts --out docs/docs",
|
50 | "changelog": "rm -f CHANGELOG.md && changelog-maker -a > CHANGELOG.md"
|
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 | "mealy",
|
74 | "moore",
|
75 | "mealy machine",
|
76 | "moore machine",
|
77 | "mealy-machine",
|
78 | "moore-machine",
|
79 | "graphviz",
|
80 | "viz.js",
|
81 | "flowchart",
|
82 | "visualization",
|
83 | "TypeScript",
|
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 | "@types/jest": "^27.0.2",
|
94 | "@typescript-eslint/eslint-plugin": "^4.13.0",
|
95 | "@typescript-eslint/parser": "^4.13.0",
|
96 | "benny": "^3.7.1",
|
97 | "changelog-maker": "^2.3.2",
|
98 | "coveralls": "^3.0.11",
|
99 | "eslint": "^7.32.0",
|
100 | "eslint-plugin-fp": "^2.3.0",
|
101 | "eslint-plugin-new-with-error": "^2.0.0",
|
102 | "eslint-plugin-promise": "^5.1.0",
|
103 | "eslint-plugin-react": "^7.26.1",
|
104 | "eslint-plugin-unicorn": "^37.0.1",
|
105 | "fast-check": "^2.12.0",
|
106 | "glob": "^7.1.6",
|
107 | "jest": "^27.3.1",
|
108 | "pegjs": "^0.10.0",
|
109 | "rollup": "^1.32.1",
|
110 | "rollup-plugin-commonjs": "^9.3.4",
|
111 | "rollup-plugin-node-resolve": "^4.2.3",
|
112 | "rollup-plugin-replace": "^2.2.0",
|
113 | "rollup-plugin-typescript2": "^0.27.0",
|
114 | "semver": "^5.7.1",
|
115 | "terser": "^4.6.11",
|
116 | "text_audit": "^0.9.3",
|
117 | "ts-jest": "^27.0.7",
|
118 | "typedoc": "^0.22.15",
|
119 | "typescript": "^4.1.3"
|
120 | },
|
121 | "dependencies": {
|
122 | "reduce-to-639-1": "^1.0.4"
|
123 | }
|
124 | }
|