-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
63 lines (63 loc) · 1.64 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
{
"name": "mini-state-machine",
"version": "2.1.1",
"description": "A miniature state machine",
"exports": "./dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf dist",
"format": "prettier --write '{source,test}/**/*.{ts,js}'",
"precommit": "lint-staged",
"prepublishOnly": "npm run build",
"test": "run-s test:unit test:format",
"test:format": "prettier --check '{source,test}/**/*.{ts,js}'",
"test:unit": "npm run build && c8 --check-coverage --lines 90 --functions 69 --branches 85 --statements 90 mocha -r test/index.js 'test/unit/**/*.spec.js'"
},
"lint-staged": {
"{source,test}/**/*.{ts,js}": [
"prettier --write"
]
},
"files": [
"dist/**/*",
"*.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/perry-mitchell/mini-state-machine.git"
},
"keywords": [
"fsm",
"stm",
"state",
"machine",
"finite",
"mini",
"transition"
],
"author": "Perry Mitchell <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/perry-mitchell/mini-state-machine/issues"
},
"homepage": "https://github.com/perry-mitchell/mini-state-machine#readme",
"devDependencies": {
"@types/node": "^18.15.11",
"c8": "^7.13.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"husky": "^4.3.8",
"lint-staged": "^13.2.0",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.7",
"rimraf": "^4.4.1",
"sinon": "^15.0.3",
"typescript": "^5.0.3"
},
"dependencies": {
"layerr": "^2.0.0"
}
}