-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
89 lines (89 loc) · 1.85 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
{
"name": "rko",
"version": "0.6.5",
"author": {
"name": "Steve Ruiz",
"url": "https://twitter.com/steveruizok"
},
"repository": "https://github.com/steveruizok/rko",
"keywords": [
"state",
"react",
"undo",
"redo",
"persistence"
],
"license": "MIT",
"files": [
"dist/**/*"
],
"source": "src/index.ts",
"main": "dist/main.js",
"module": "dist/module.js",
"types": "dist/index.d.ts",
"browserlist": [
">5%",
"ie11",
"chrome",
"firefox",
"safari",
"not dead"
],
"targets": {
"default": {
"distDir": "./dist",
"isLibrary": true
}
},
"sourceMap": "inline",
"scripts": {
"start": "parcel watch & cd example && yarn start",
"build": "parcel build && tsc --project tsconfig.build.json",
"check": "tsc --noEmit",
"lint": "eslint"
},
"devDependencies": {
"@parcel/packager-ts": "^2.0.0",
"@parcel/transformer-js": "^2.0.0",
"@parcel/transformer-typescript-types": "^2.0.0",
"@swc-node/jest": "^1.4.1",
"@types/jest": "^27.0.2",
"fake-indexeddb": "^3.1.7",
"jest": "^27.3.1",
"parcel": "latest",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"tslib": "^2.3.1",
"typescript": ">=3.0.0"
},
"dependencies": {
"idb-keyval": "^6.0.3",
"zustand": "^3.6.4"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": "^16.8 || ^17.0"
},
"jest": {
"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"
],
"testEnvironment": "jsdom",
"modulePathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/example/"
]
}
}