forked from statelyai/xstate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.27 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
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
128
129
130
131
132
133
134
{
"name": "xstate",
"version": "4.6.7",
"description": "Finite State Machines and Statecharts for the Modern Web.",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"lib",
"es"
],
"keywords": [
"statechart",
"state machine",
"finite state machine",
"finite automata",
"scxml",
"state",
"interpreter"
],
"scripts": {
"start": "npm run build",
"prettify": "prettier --config ./.prettierrc --write ./{lib,es,src,test}/**/*.ts",
"ci": "npm run build && npm run compile:es && npm run compile:lib && npm run test",
"test": "npm run test:core && npm run test:packages",
"test:core": "npm run build:cjs && nyc mocha --require ts-node/register --require source-map-support/register --recursive test/**.ts test/**/*.test.ts",
"test:only": "mocha --require ts-node/register",
"test:packages": "mocha --require ts-node/register packages/**/test/*.test.ts && cd packages/xstate-react && npm test",
"test:ci": "npm run test:core && lerna bootstrap && npm run test:packages",
"compile:lib": "tsc -p tsconfig.lib.json",
"compile:es": "tsc -p tsconfig.es.json",
"build": "npm run build:cjs && npm run build:es && npm run build:umd",
"build:cjs": "tsc",
"build:es": "tsc --outDir es -m ES2015",
"build:umd": "rollup -c",
"postbuild:es": "babel es --out-dir es --no-babelrc --plugins annotate-pure-calls",
"preversion": "npm run test",
"version": "npm run build",
"postversion": "git push --follow-tags",
"prepublish": "npm run build",
"publish:next": "npm version prerelease && npm publish --tag next",
"typedoc": "typedoc src/index.ts --excludePrivate --mode file --out ./api --target es6",
"typedoc:publish": "npm run typedoc && gh-pages --dist ./api --dest ./api",
"docs:readme": "cpy 'README.md' docs",
"docs:dev": "npm run docs:packages && vuepress dev docs",
"docs:pdf": "npm run docs:build && vuepress export ./docs",
"docs:packages": "cpy 'packages/*/README.md' docs --parents --rename=index.md",
"docs:build": "npm run docs:readme && npm run docs:packages && vuepress build docs",
"docs:publish": "npm run docs:build && gh-pages --dist ./docs/.vuepress/dist --dest ./docs && npm run typedoc:publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/davidkpiano/xstate.git"
},
"author": "David Khourshid <davidkpiano@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/davidkpiano/xstate/issues"
},
"homepage": "https://github.com/davidkpiano/xstate#readme",
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/chai-subset": "^1.3.2",
"@types/core-js": "^2.5.0",
"@types/mocha": "^2.2.44",
"@types/node": "^8.10.38",
"@vuepress/plugin-google-analytics": "^1.0.2",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-annotate-pure-calls": "^0.3.0",
"chai": "^4.2.0",
"chai-subset": "^1.6.0",
"cpy-cli": "^2.0.0",
"gh-pages": "^2.0.1",
"husky": "^2.5.0",
"jsdom": "^14.0.0",
"jsdom-global": "^3.0.2",
"lerna": "^3.13.1",
"lint-staged": "^8.2.1",
"markdown-it-codesandbox-embed": "^0.1.0",
"mermaid": "^8.2.3",
"mocha": "^3.5.3",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"rollup": "^1.4.0",
"rollup-plugin-filesize": "^6.0.1",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-typescript2": "^0.21.1",
"rollup-plugin-uglify": "^6.0.0",
"rxjs": "^6.5.1",
"scion-core-test-framework": "^1.0.0",
"scxml-test-framework": "^1.0.2",
"source-map-support": "^0.5.12",
"ts-node": "^8.1.0",
"tslint": "^5.11.0",
"typedoc": "^0.14.2",
"typescript": "^3.5.3",
"vuepress": "^1.0.1",
"vuepress-plugin-export": "^0.2.0",
"webpack-dev-middleware": "^3.6.0",
"xml-js": "^1.6.8"
},
"nyc": {
"extension": [
".ts"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"**/*.d.ts*/"
],
"reporter": [
"text",
"html"
],
"all": true
},
"dependencies": {},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,json,md}": [
"prettier --write",
"git add"
]
}
}