-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.3 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
{
"name": "@bylin/sote",
"version": "0.0.1-dev.4",
"description": "Tiny state manager for react",
"license": "MIT",
"author": "",
"main": "./cjs/index.js",
"module": "./es/index.js",
"browser": "./umd/index.js",
"types": "./cjs/index.d.ts",
"files": [
"/cjs",
"/es",
"/umd"
],
"scripts": {
"clean": "rm -rf cjs/* es/* umd/*",
"start": "parcel example/index.html",
"build:cjs": "tsc -m commonjs --target es5 --outDir cjs",
"build:es": "tsc -m es6 --target es5 --outDir es",
"build:umd": "tsc -m umd --target es5 --outDir umd",
"build": "pnpm build:cjs && pnpm build:es && pnpm build:umd",
"prepublish": "pnpm run build && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shiyiya/sote.git"
},
"keywords": [],
"bugs": {
"url": "https://github.com/shiyiya/sote/issues"
},
"homepage": "https://github.com/shiyiya/sote#readme",
"peerDependencies": {
"react": "^16.8 || ^17.0"
},
"dependencies": {
"typescript": "^4.5.5"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"parcel": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}