-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
70 lines (70 loc) · 2.1 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
{
"name": "xstate-component-tree",
"version": "6.0.0",
"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: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.4.5",
"@changesets/cli": "^2.23.0",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@tivac/eslint-config": "^2.4.0",
"c8": "^7.11.0",
"chokidar-cli": "^3.0.0",
"dedent": "^0.7.0",
"eslint": "^8.18.0",
"eslint-plugin-jsdoc": "^39.8.0",
"esm": "^3.2.25",
"jsdoc": "^3.6.11",
"jsdoc-tsimport-plugin": "^1.0.5",
"nanospy": "^0.5.0",
"npm-run-all": "^4.1.5",
"object-inspect": "^1.12.0",
"rollup": "^3.14.0",
"shx": "^0.3.4",
"strip-ansi": "^7.0.1",
"tsd-jsdoc": "^2.5.0",
"typescript": "^4.9.5",
"uvu": "^0.5.4",
"xstate": "^4.34.0"
},
"peerDependencies": {
"xstate": "^4.7.8"
}
}