-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
90 lines (90 loc) · 2.36 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
{
"name": "state-designer",
"description": "State management with statecharts.",
"author": "@steveruizok",
"repository": {
"type": "git",
"url": "git+https://github.com/steveruizok/state-designer.git"
},
"license": "MIT",
"private": true,
"keywords": [
"react",
"state",
"statechart"
],
"workspaces": [
"packages/core",
"packages/react",
"packages/state-designer",
"example"
],
"scripts": {
"start": "lerna run start --stream --parallel",
"build": "lerna run build && lerna run docs --stream ",
"publish:patch": "yarn test && yarn build && lerna publish patch",
"docs": "lerna run docs",
"docs:watch": "lerna run docs:watch",
"test": "jest",
"test:watch": "jest --watchAll",
"lerna": "lerna"
},
"devDependencies": {
"@swc-node/jest": "^1.3.3",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.10",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"@use-gesture/react": "^10.0.2",
"esbuild": "^0.13.10",
"eslint": "^8.1.0",
"jest": "^27.1.0",
"lerna": "^3.22.1",
"resize-observer-polyfill": "^1.5.1",
"tsconfig-replace-paths": "^0.0.5",
"tslib": "^2.3.1",
"typedoc": "^0.22.3",
"typescript": "^4.4.2"
},
"dependencies": {},
"prettier": {
"trailingComma": "es5",
"singleQuote": true,
"semi": false,
"printWidth": 100
},
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/setupTests.ts"
],
"transform": {
"^.+\\.(tsx|jsx|ts|js|mjs)?$": "@swc-node/jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"modulePathIgnorePatterns": [
"<rootDir>/archive",
"<rootDir>/example/dist",
"<rootDir>/packages/core/dist",
"<rootDir>/packages/react/dist",
"<rootDir>/packages/state-designer/dist"
],
"moduleNameMapper": {
"@state-designer/core": "<rootDir>/packages/core/src",
"@state-designer/react": "<rootDir>/packages/react/src",
"state-designer": "<rootDir>/packages/state-designer/src"
}
}
}