-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
46 lines (46 loc) · 1.23 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
{
"name": "@matthamlin/react-error-boundary",
"version": "1.0.0",
"description":
"A simple error boundary component for React 16+",
"main": "dist/index.js",
"author":
"Matthew Hamlin <hamlim@outlook.com> (https://matthamlin.me/)",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.0.0-beta.44",
"@babel/core": "^7.0.0-beta.44",
"@babel/plugin-proposal-class-properties":
"^7.0.0-beta.44",
"@babel/preset-env": "^7.0.0-beta.44",
"@babel/preset-react": "^7.0.0-beta.44",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^22.4.3",
"jest": "^22.4.3",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-testing-library": "^1.9.4"
},
"peerDependencies": {
"prop-types": "15.6.1",
"react": "16.3.1"
},
"jest": {
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"scripts": {
"test": "jest --watch",
"build":
"babel src/index.js --out-file dist/index.js --ignore test.js",
"prepublish":
"babel src/ --out-dir dist/ --ignore test.js",
"postbuild":
"cp dist/index.js demo/src/errorboundary.js"
},
"babel": {
"plugins": ["@babel/plugin-proposal-class-properties"],
"presets": ["@babel/env", "@babel/react"]
}
}