1 | {
|
2 | "name": "rrc",
|
3 | "version": "0.10.1",
|
4 | "description": "React Router v4 helper components",
|
5 | "main": "lib/index.js",
|
6 | "module": "es/index.js",
|
7 | "files": [
|
8 | "lib",
|
9 | "umd",
|
10 | "es",
|
11 | "LICENSE",
|
12 | "*.md"
|
13 | ],
|
14 | "scripts": {
|
15 | "prebuild": "rimraf lib umd es",
|
16 | "build": "npm run build:lib && npm run build:umd && npm run build:min && npm run build:es",
|
17 | "build:es": "cross-env BABEL_ENV=es babel ./src -d es --ignore __tests__",
|
18 | "build:lib": "cross-env BABEL_ENV=cjs babel ./src -d lib --ignore __tests__",
|
19 | "build:umd": "webpack --define process.env.NODE_ENV=\"'production'\" --output-filename=umd/rrc.js",
|
20 | "build:min": "webpack -p --optimize-minimize --output-filename=umd/rrc.min.js",
|
21 | "prepublish": "npm run build",
|
22 | "test": "jest"
|
23 | },
|
24 | "repository": {
|
25 | "type": "git",
|
26 | "url": "git+https://github.com/pshrmn/rrc.git"
|
27 | },
|
28 | "keywords": [
|
29 | "react-router",
|
30 | "context",
|
31 | "component"
|
32 | ],
|
33 | "author": "Paul Sherman",
|
34 | "license": "MIT",
|
35 | "bugs": {
|
36 | "url": "https://github.com/pshrmn/rrc/issues"
|
37 | },
|
38 | "homepage": "https://github.com/pshrmn/rrc#readme",
|
39 | "dependencies": {
|
40 | "prop-types": "^15.5.8",
|
41 | "react": "^15.5.4",
|
42 | "react-router": "^4.1.0",
|
43 | "warning": "^3.0.0"
|
44 | },
|
45 | "devDependencies": {
|
46 | "babel-cli": "^6.24.1",
|
47 | "babel-core": "^6.24.1",
|
48 | "babel-jest": "^19.0.0",
|
49 | "babel-loader": "^6.4.1",
|
50 | "babel-plugin-transform-class-properties": "^6.24.1",
|
51 | "babel-plugin-transform-export-extensions": "^6.22.0",
|
52 | "babel-plugin-transform-object-rest-spread": "^6.23.0",
|
53 | "babel-preset-es2015": "^6.24.1",
|
54 | "babel-preset-react": "^6.24.1",
|
55 | "cross-env": "^4.0.0",
|
56 | "enzyme": "^2.8.1",
|
57 | "history": "^4.6.1",
|
58 | "jest": "^19.0.2",
|
59 | "react": "^15.4.2",
|
60 | "react-addons-test-utils": "^15.5.1",
|
61 | "react-dom": "^15.5.4",
|
62 | "react-router-dom": "^4.1.0",
|
63 | "react-router-test-context": "^0.1.0",
|
64 | "react-test-renderer": "^15.5.4",
|
65 | "rimraf": "^2.6.1",
|
66 | "webpack": "^2.3.3"
|
67 | },
|
68 | "jest": {
|
69 | "testMatch": [
|
70 | "**/__tests__/**/*.spec.js"
|
71 | ]
|
72 | }
|
73 | }
|