-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
93 lines (93 loc) · 3.2 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
{
"name": "jssm-viz",
"version": "5.104.1",
"type": "module",
"description": "Visualization of JSSM machines using viz.js",
"main": "dist/jssm-viz.cjs.cjs",
"module": "dist/jssm-viz.es6.js",
"exports": {
"require": {
"types": "./dist/jssm-viz.d.cts",
"default": "./dist/jssm-viz.cjs.cjs"
},
"import": {
"types": "./dist/jssm-viz.es6.d.ts",
"default": "./dist/jssm-viz.es6.js"
},
"browser": "./dist/jssm-viz.iife.js"
},
"scripts": {
"test": "jest --verbose",
"clean": "rimraf build -f && rimraf dist -f && rimraf docs -f && mkdir build && cd build && mkdir terser && cd .. && mkdir dist && mkdir docs && cd docs && mkdir docs && cd ../src/ts && rimraf -f generated_code && mkdir generated_code && cd ../..",
"rollup": "rollup -c",
"typescript": "tsc --build tsconfig.json",
"version": "node ./src/build_js/set_version.cjs",
"make": "npm run clean && npm run version && npm run typescript && npm run rollup",
"eslint": "eslint src/ts/jssm-viz.js",
"nyc-html": "nyc ava report --reporter=html",
"coverage": "nyc report --reporter=text-lcov > ./coverage/lcov.info",
"changelog": "rm -f CHANGELOG.md && rm -f ./src/doc_md/CHANGELOG.md && better_git_changelog -b && cp CHANGELOG.* ./src/doc_md/",
"audit": "text_audit -g ./src/ts/*.ts -t MAJOR WASTEFUL ANY MIXED FIXME CHECKME TESTME STOCHABLE TODO COMEBACK WHARGARBL",
"build": "npm run make && npm run audit && npm run dist",
"nyc-build": "npm run make && npm run test-verbose && npm run audit && npm run nyc-test",
"minify": "uglifyjs ./build/rollup/jssm-viz.cjs.js -o ./build/jssm-viz.es5.cjs.min.js --compress",
"dist": "cp build/rollup/jssm-viz.* dist/ && cp src/html/* docs/ && cp dist/* docs/ && cp node_modules/viz.js/lite.render.js docs/ && cp node_modules/viz.js/viz.js docs/",
"docs": "documentation build src/ts/** -f html -o docs/lib",
"travis": "npm run nyc-test && npm run coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/StoneCypher/jssm-viz.git"
},
"keywords": [
"jssm",
"visualization",
"fsm",
"finite-state-machine",
"finite_state_machine",
"finite state machine",
"state-machine",
"state_machine",
"state machine",
"finite",
"state",
"machine",
"flowchart",
"chart",
"layout",
"graph",
"fsm-graph",
"vis",
"viz",
"svg"
],
"author": "John Haugeland <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/StoneCypher/jssm-viz/issues"
},
"homepage": "https://github.com/StoneCypher/jssm-viz#readme",
"dependencies": {
"better_git_changelog": "^1.6.2",
"eslint": "^8.15.0",
"jssm": "^5.104.1",
"reduce-to-639-1": "^1.1.0",
"text_audit": "^0.9.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@types/jest": "^29.5.12",
"@types/viz.js": "^2.1.2",
"jest": "^29.7.0",
"nyc": "^17.1.0",
"pegjs": "^0.10.0",
"rimraf": "^2.7.1",
"rollup": "^4.22.4",
"rollup-plugin-dts": "^6.1.1",
"typescript": "^5.5.3",
"uglify-js": "^3.6.2",
"viz.js": "^2.1.2"
}
}