-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
83 lines (83 loc) · 2.24 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
{
"name": "react-goodbye",
"version": "0.4.0",
"keywords": [
"react",
"react-router",
"goodbye",
"save-reminder",
"render-props"
],
"description": "A save reminder component for react router",
"author": "xJkit",
"license": "MIT",
"repository": "xJkit/react-goodbye",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"scripts": {
"test": "BABEL_ENV=test jest",
"test:cov": "BABEL_ENV=test jest --coverage",
"coverage": "BABEL_ENV=test jest --coverage --coverageReporters=text-lcov | coveralls",
"build": "rollup -c",
"start": "rollup -c -w",
"prepare": "yarn run build",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build"
},
"dependencies": {
"invariant": "^2.2.4",
"prop-types": "^15.6.1"
},
"peerDependencies": {
"react": ">=16.3.0",
"react-router": ">=4.0.0"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-jest": "^22.4.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"coveralls": "^3.0.2",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint-config-standard": "^11.0.0",
"eslint-config-standard-react": "^6.0.0",
"eslint-plugin-react": "^7.7.0",
"eslint-plugin-standard": "^3.0.1",
"gh-pages": "^1.1.0",
"jest": "^22.4.3",
"jest-cli": "^22.4.3",
"react": "^16.3.0",
"react-dom": "^16.3.0",
"react-router": "^4.2.0",
"regenerator-runtime": "^0.11.1",
"rollup": "^0.54.0",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-commonjs": "^8.2.1",
"rollup-plugin-node-resolve": "^3.0.2",
"rollup-plugin-peer-deps-external": "^2.0.0",
"rollup-plugin-postcss": "^1.1.0",
"rollup-plugin-url": "^1.3.0"
},
"files": [
"dist"
],
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/scripts/jest.setup.js",
"testMatch": [
"<rootDir>/__tests__/*.spec.js"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"html",
"lcov"
]
}
}