-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.1 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
{
"name": "portable-hooks",
"version": "1.1.1",
"description": "Wrappers for React's hooks that make them more portable",
"keywords": [
"react hook",
"reusable",
"dependency"
],
"license": "Unlicense",
"contributors": [
"Colin Gourlay <[email protected]>"
],
"repository": {
"type": "git",
"url": "git+https://github.com/colingourlay/portable-hooks.git"
},
"main": "dist/portable-hooks.js",
"umd:main": "dist/portable-hooks.umd.js",
"module": "dist/portable-hooks.mjs",
"source": "src/portable-hooks.ts",
"files": [
"dist"
],
"scripts": {
"start": "http-server example --silent & npm run watch",
"watch": "microbundle watch --entry example/src/index.tsx --globals react=React,react-dom=ReactDOM --format umd --jsx React.createElement --output example/dist/bundle.js",
"build": "rimraf dist && microbundle --sourcemap=false",
"prepare": "npm run build"
},
"devDependencies": {
"http-server": "^0.11.1",
"microbundle": "^0.11.0",
"react": "^16.8.4",
"rimraf": "^2.6.3"
},
"peerDependencies": {
"react": "^16.8.4"
}
}