-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
95 lines (95 loc) · 2.72 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
{
"name": "wstate",
"version": "2.1.0",
"description": "A finite state machine library",
"homepage": "https://github.com/zhangkun-Jser/wstate",
"repository": {
"type": "git",
"url": "git://github.com/zhangkun-Jser/wstate.git"
},
"keywords": [
"finite state machine",
"state machine",
"server",
"client"
],
"author": {
"name": "keenzhang"
},
"license": "MIT",
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"browser": "./dist/umd/index.js",
"files": [
"dist/*",
"dist/cjs/*",
"dist/es/*",
"dist/umd/*"
],
"types": "dist/index.d.ts",
"directories": {},
"scripts": {
"build": "rm -rf dist && rollup -c",
"build:prod": "rm -rf dist && rollup -c --environment mode:production",
"build-fat": "rm -rf dist && rollup -c rollup.config.fat.js",
"build-fat:prod": "rm -rf dist rollup -c --environment mode:production rollup.config.fat.js",
"watch": "rm -rf && rollup -cw",
"lint": "eslint '*/**/*.{ts,tsx}' --quiet --fix",
"test": "jest",
"coverage": "jest --coverage",
"test-js": "nyc ava -v && nyc report --reporter=html",
"visualize-examples": "node bin/examples"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-strip": "^2.0.0",
"@types/isomorphic-fetch": "^0.0.35",
"@types/jest": "^26.0.20",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^14.14.10",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"ava": "^0.17.0",
"eslint": "^7.20.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"esm": "^3.2.25",
"jest": "^26.6.3",
"nyc": "^10.0.0",
"prettier": "^2.2.0",
"rollup": "^2.32.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-dotenv": "^0.3.0",
"rollup-plugin-inject-process-env": "^1.3.1",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.28.0",
"rollup-plugin-uglify": "^6.0.4",
"rollup-pluginutils": "^2.8.2",
"ts-jest": "^26.5.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"ava": {
"require": [
"esm"
],
"files": [
"test-js/**/*.js"
],
"source": [
"dist/**/*.js"
]
}
}