-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
57 lines (57 loc) · 2.02 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
{
"name": "react-router-modal",
"version": "2.0.0-rc2",
"description": "simple react router modal",
"main": "lib/index.js",
"repository": "http://github.com/davidmfoley/react-router-modal",
"author": "davidmfoley@gmail.com",
"license": "MIT",
"scripts": {
"test": "npm run -s test:mocha && npm run -s test:flow && npm run -s test:lint",
"test:flow": "flow",
"test:mocha": "mocha --compilers js:babel-register --require test/setup.js test/*test.js ",
"test:lint": "eslint src/",
"watch:test": "watch 'npm test' ./src ./test",
"watch:build": "watch 'npm run build' ./src",
"build": "npm run -s build:clean && npm run -s build:lib && npm run -s build:flow && npm run -d build:docs",
"build:clean": "rimraf lib",
"build:lib": "babel -d lib --ignore '**/*.test.js' src",
"build:flow": "flow-copy-source -v src lib",
"build:docs": "documentation build --config docs/documentation.yml -f md -o README.md",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"react": ">=16.3.0",
"react-dom": ">=16.3.0",
"react-router-dom": "^4"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.24.1",
"chai": "^4.2.0",
"chai-enzyme": "^0.7.1",
"documentation": "4.0.0-rc.1",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.12.1",
"eslint": "^3.19.0",
"eslint-plugin-flowtype": "^2.34.0",
"eslint-plugin-react": "^7.0.1",
"flow-bin": "^0.82.0",
"flow-copy-source": "^1.1.0",
"jsdom": "^11.0.0",
"mocha": "^3.4.2",
"react": "16.x",
"react-dom": "16.x",
"react-router-dom": "^4.1.1 || ^5.0.1",
"rimraf": "^2.6.1",
"watch": "^1.0.2"
}
}