-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
77 lines (77 loc) · 1.7 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
{
"name": "xsystem",
"version": "0.6.0",
"license": "MIT",
"author": "Christoph Fricke <christoph@frickeonline.de> (https://christoph-fricke.de)",
"description": "Building Blocks for XState-based Actor Systems.",
"keywords": [
"XState",
"Actors",
"Plug'n Play"
],
"repository": "github:christoph-fricke/xsystem",
"sideEffects": false,
"main": "./cjs/main.js",
"module": "./dist/main.js",
"types": "./dist/main.d.ts",
"exports": {
".": {
"require": "./cjs/main.js",
"import": "./dist/main.js"
}
},
"files": [
"dist",
"cjs",
"!**/*.test.*",
"README.md",
"LICENSE"
],
"scripts": {
"prepublishOnly": "npm run test",
"prepare": "husky install",
"prepack": "npm run build",
"clean": "rm -rf dist cjs",
"prebuild": "npm run clean",
"build": "tsc -b && tsc -p tsconfig.cjs.json",
"format": "prettier --write .",
"lint": "tsc --noEmit && eslint . && prettier -c .",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage"
},
"peerDependencies": {
"xstate": "^4.25.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@swc/core": "^1.3.56",
"@swc/jest": "^0.2.26",
"@types/jest": "^29.5.1",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"eslint": "^8.39.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-mock-extended": "^3.0.4",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"typescript": "^5.0.4",
"xstate": "~4.28.0"
},
"engines": {
"node": "^12.20.0 || ^14.17.1 || >=16.0.0"
},
"volta": {
"node": "16.15.0"
},
"lint-staged": {
"*": [
"prettier --ignore-unknown --write"
],
"*.{ts,js,mjs}": [
"eslint --fix"
]
}
}