-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
107 lines (107 loc) · 3.62 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
{
"name": "@avaragado/xstateful",
"version": "0.5.0",
"description": "A wrapper for xstate that stores state, handles transitions, emits events for state changes and actions/activities, and includes an optional reducer framework for updating state and invoking side-effects",
"keywords": [
"xstate",
"statechart",
"state chart",
"state machine",
"finite state machine",
"hierarchical state machine",
"harel",
"interpreter",
"reducer"
],
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"browser": "dist/index.umd.min.js",
"files": [
"dist"
],
"homepage": "https://github.com/avaragado/xstateful#readme",
"repository": "avaragado/xstateful",
"bugs": "https://github.com/avaragado/xstateful/issues",
"author": {
"name": "David Smith",
"email": "[email protected]",
"url": "https://avaragado.org"
},
"license": "MIT",
"dependencies": {
"tiny-emitter": "^2.0.2"
},
"devDependencies": {
"all-contributors-cli": "^5.3.0",
"babel-core": "6",
"babel-eslint": "^8.2.5",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.0",
"babel-preset-flow": "^6.23.0",
"concurrently": "^3.6.0",
"eslint": "^5.0.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^2.49.3",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jest": "^21.15.3",
"eslint-plugin-jsx-a11y": "^6.1.0",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.10.0",
"flow-bin": "^0.75.0",
"flow-copy-source": "^2.0.1",
"flow-typed": "^2.4.0",
"husky": "^0.14.3",
"jest": "^23.3.0",
"lint-staged": "^7.1.3",
"prettier": "^1.13.7",
"rimraf": "^2.6.2",
"rollup": "^0.62.0",
"rollup-plugin-babel": "3.0.7",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^4.0.0",
"standard-version": "^4.4.0",
"xstate": "^3.3.2"
},
"scripts": {
"clean": "rimraf dist coverage",
"eslint": "eslint src test examples",
"flow": "flow",
"flow-typed": "flow-typed update --skip",
"flow-copy-source": "flow-copy-source --ignore '*.test.*' src dist",
"pretest": "yarn build",
"test": "jest",
"build:watch": "concurrently 'rollup -c -w' 'yarn flow-copy-source --watch'",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage --collectCoverageFrom=src/**/*.{js,jsx}",
"build:dev": "rollup -c",
"build:prod": "NODE_ENV=production rollup -c",
"prebuild": "yarn clean",
"build": "yarn build:dev && yarn build:prod && yarn flow-copy-source",
"precommit": "lint-staged",
"release": "standard-version",
"release:dryrun": "standard-version --dry-run",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{js,jsx,json,css,md}": [
"prettier --write",
"git add"
]
},
"standard-version": {
"scripts": {
"postchangelog": "prettier --write CHANGELOG.md"
}
},
"peerDependencies": {
"xstate": "^3.0.0"
}
}