-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 5.13 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 5.13 KB
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
{
"name": "@ficusjs/state",
"version": "4.2.0",
"description": "State functions for FicusJS",
"type": "module",
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"types": "types/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "run-p build:*",
"build:all": "rollup -i src/index.mjs -o dist/index.mjs -f es -m -p \"node-resolve={}\" -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
"build:app-state": "rollup -i src/app-state.mjs -o dist/app-state.mjs -f es -m -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
"build:persist": "rollup -i src/base-persist.mjs -o dist/persist.mjs -f es -m -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
"build:worker-app-state": "rollup -i src/worker-app-state.mjs -o dist/worker-app-state.iife.js -f iife -p \"terser={}\" -p \"filesize={}\"",
"build:xstate-service": "rollup -i src/xstate-service.mjs -o dist/xstate-service.mjs -f es -m -p \"node-resolve={}\" -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
"build:with-store": "rollup -i src/with-store.mjs -o dist/with-store.mjs -f es -m -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
"build:with-worker-store": "rollup -i src/with-worker-store.mjs -o dist/with-worker-store.mjs -f es -m -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
"build:with-local-state": "rollup -i src/with-local-state.mjs -o dist/with-local-state.mjs -f es -m -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
"build:with-state-machine": "rollup -i src/with-state-machine.mjs -o dist/with-state-machine.mjs -f es -m -p \"node-resolve={}\" -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
"build:with-xstate-service": "rollup -i src/with-xstate-service.mjs -o dist/with-xstate-service.mjs -f es -m -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
"build:store": "rollup -i src/store.mjs -o dist/store.mjs -f es -m -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
"cy:open": "cypress open",
"cy:run": "cypress run",
"prebuild": "run-p cp:*",
"predev": "run-p cp:*",
"pretest": "run-p cp:*",
"cp:xstate": "ncp node_modules/@xstate/fsm/es/index.js src/lib/xstate-fsm.mjs",
"dev": "run-p serve open",
"lint": "standard \"./src/**/*.mjs\" \"./test/**/*.mjs\"",
"open": "open-cli http://localhost:8080/test/e2e",
"test": "npm run test:unit && start-server-and-test serve:silent http://localhost:8080 cy:run",
"test:unit": "ava test/unit/**/*.spec.mjs",
"test:unit:watch": "ava test/unit/**/*.spec.mjs --watch",
"test:unit:coverage": "c8 --all --include=src/**/*.mjs --reporter=lcov --reporter=text-summary ava test/unit/**/*.spec.mjs --verbose",
"serve": "http-server",
"serve:silent": "http-server -s"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ficusjs/ficusjs-state.git"
},
"keywords": [
"ficusjs",
"frontend",
"state",
"stores",
"state-machine",
"statecharts",
"web-components",
"xstate",
"web-worker"
],
"author": "Matt Levy",
"license": "MIT",
"bugs": {
"url": "https://github.com/ficusjs/ficusjs-state/issues"
},
"homepage": "https://github.com/ficusjs/ficusjs-state#readme",
"standard": {
"ignore": [
"*.ts",
"src/lib/*"
]
},
"dependencies": {
"@ficusjs/core": "3.1.4",
"@xstate/fsm": "2.1.0",
"xstate": "4.38.2"
},
"devDependencies": {
"ava": "5.3.1",
"@ficusjs/core": "3.1.4",
"@ficusjs/renderers": "5.8.1",
"@rollup/plugin-alias": "5.0.0",
"@rollup/plugin-commonjs": "25.0.4",
"@rollup/plugin-node-resolve": "15.2.1",
"@rollup/plugin-terser": "^0.4.3",
"@xstate/fsm": "2.1.0",
"c8": "8.0.1",
"cypress": "13.1.0",
"http-server": "14.1.1",
"jsdom": "22.1.0",
"ncp": "2.0.0",
"node-sessionstorage": "1.0.0",
"npm-run-all": "4.1.5",
"open-cli": "7.2.0",
"rollup": "3.29.0",
"rollup-plugin-filesize": "10.0.0",
"sinon": "15.2.0",
"standard": "17.1.0",
"start-server-and-test": "2.0.0",
"xstate": "4.38.2"
},
"exports": {
".": {
"import": "./dist/index.mjs"
},
"./with-local-state": {
"import": "./dist/with-local-state.mjs"
},
"./app-state": {
"import": "./dist/app-state.mjs"
},
"./with-store": {
"import": "./dist/with-store.mjs"
},
"./with-worker-store": {
"import": "./dist/with-worker-store.mjs"
},
"./with-state-machine": {
"import": "./dist/with-state-machine.mjs"
},
"./with-xstate-service": {
"import": "./dist/with-xstate-service.mjs"
},
"./xstate-service": {
"import": "./dist/xstate-service.mjs"
},
"./store": {
"import": "./dist/store.mjs"
},
"./persist": {
"import": "./dist/persist.mjs"
}
}
}