-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
66 lines (66 loc) · 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
{
"name": "xstate-component-tree",
"version": "7.0.1",
"description": "Build a tree of components based on statechart values",
"author": "Pat Cavit <[email protected]>",
"license": "MIT",
"type": "module",
"scripts": {
"build:clean": "shx rm -rf dist/*",
"build:rollup": "rollup --config",
"build:types": "tsc",
"build:copytypes": "shx cp dist/*.d.ts dist/cjs && shx cp dist/*.d.ts dist/esm",
"build:cleantypes": "shx rm dist/*.d.ts",
"build": "run-s build:clean build:rollup build:types build:copytypes build:cleantypes",
"lint": "eslint . --max-warnings=0",
"test": "uvu tests .test.js",
"test:coverage": "c8 --check-coverage --100 --reporter=html --reporter=text uvu",
"test:report": "c8 report --reporter=text-lcov > coverage/tests.lcov",
"test:watch": "chokidar \"**/*.js\" -c \"npm test\"",
"types": "tsc",
"prerelease": "npm run test && npm run build",
"release": "changeset publish",
"postrelease": "git push --follow-tags"
},
"keywords": [
"xstate",
"components",
"statecahart"
],
"files": [
"dist/"
],
"module": "dist/esm/xstart-component-tree.js",
"main": "dist/cjs/xstart-component-tree.js",
"exports": {
".": {
"import": "./dist/esm/xstate-component-tree.js",
"require": "./dist/cjs/xstate-component-tree.js"
}
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.23.0",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@tivac/eslint-config": "^2.4.0",
"c8": "^10.1.3",
"chokidar-cli": "^3.0.0",
"dedent": "^1.5.1",
"eslint": "^8.18.0",
"eslint-plugin-jsdoc": "^50.6.1",
"nanospy": "^1.0.0",
"npm-run-all": "^4.1.5",
"object-inspect": "^1.12.0",
"rollup": "^4.29.1",
"shx": "^0.3.4",
"strip-ansi": "^7.0.1",
"typescript": "^5.7.2",
"uvu": "^0.5.4",
"xstate": "^5.19.1"
},
"peerDependencies": {
"xstate": "^5"
}
}