-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
71 lines (71 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
64
65
66
67
68
69
70
71
{
"name": "dakpan",
"version": "2.3.2",
"description": "A tiny React state management library using hooks.",
"main": "lib/index.js",
"module": "lib/index.es.js",
"types": "lib/index.d.ts",
"scripts": {
"prebuild": "npm run lint && npm run test && npm run clean",
"build": "rollup -c",
"test": "jest",
"lint": "tslint \"src/**/*.ts?(x)\"",
"clean": "rimraf lib/",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/houfio/dakpan.git"
},
"keywords": [
"react",
"context",
"state",
"hooks"
],
"files": [
"src/",
"lib/"
],
"author": "houfio",
"license": "MIT",
"bugs": {
"url": "https://github.com/houfio/dakpan/issues"
},
"homepage": "https://dakpan.houf.io/",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.2",
"@testing-library/react": "^13.3.0",
"@types/jest": "^28.1.1",
"@types/react": "^18.0.12",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"react-dom": "^18.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.75.5",
"rollup-plugin-filesize": "^9.1.2",
"ts-jest": "^28.0.4",
"tslint": "^6.1.3",
"tslint-react": "^5.0.0",
"typescript": "^4.7.3"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"<rootDir>/tests/**/?(*.)test.ts?(x)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"testEnvironment": "jsdom"
}
}