-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 3.06 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
{
"name": "svg-prop-types",
"version": "0.3.2",
"description": "Custom SVG prop types for React.",
"main": "index.js",
"scripts": {
"prettier": "prettier-eslint --write --list-different \"@(src|test)/**/*.js\"",
"fix": "eslint --fix \"@(src|test)/**/*.js\"",
"pretest": "npm run lint",
"test": "npm run travis",
"travis": "npm run build && npm run test:only",
"test:only": "npm run mocha test",
"test:all": "npm run test:only && npm run react:14 && npm run test:only && npm run react:15 && npm run test:only",
"lint": "eslint --ext js src test",
"prepublish": "npm run build && safe-publish-latest",
"clean": "rimraf build",
"prebuild": "npm run clean",
"build": "babel src --out-dir build --source-maps",
"postbuild": "npm run build:index",
"prebuild:index": "cp index.js .index.js",
"build:index": "babel index.js --out-file index.js --no-babelrc --source-maps",
"postbuild:index": "mv .index.js index.js",
"cover:clean": "rimraf coverage",
"cover:run": "nyc --show-process-tree npm run --silent mocha test -- --reporter=dot",
"precoverage": "NODE_ENV=test npm run build",
"coverage": "npm run --quiet cover:clean && npm run --silent cover:run",
"mocha": "mocha --recursive",
"react:clean": "rimraf node_modules/react node_modules/react-dom node_modules/react-addons-test-utils",
"react:14": "npm run react:clean && npm i --no-save [email protected] [email protected] [email protected]",
"react:15": "npm run react:clean && npm i --no-save react@15 react-dom@15 react-addons-test-utils@15",
"react:16": "npm run react:clean && npm i --no-save [email protected] [email protected] [email protected]"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reviz/svg-prop-types.git"
},
"keywords": [
"SVG",
"React",
"prop-types",
"PropType"
],
"author": "Johan Dufour <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/reviz/svg-prop-types/issues"
},
"homepage": "https://github.com/reviz/svg-prop-types#readme",
"dependencies": {
"object.assign": "^4.0.4",
"prop-types": "^15.5.10"
},
"devDependencies": {
"airbnb-js-shims": "^1.3.0",
"babel-cli": "^6.24.1",
"babel-plugin-istanbul": "^4.1.4",
"babel-plugin-transform-replace-object-assign": "^0.2.1",
"babel-preset-airbnb": "^2.4.0",
"babel-register": "^6.24.1",
"chai": "^4.1.2",
"eslint": "^4.4.1",
"eslint-config-airbnb": "^15.1.0",
"eslint-config-prettier": "^2.3.0",
"eslint-loader": "^1.2.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-prettier": "^2.1.2",
"eslint-plugin-react": "^7.2.0",
"mocha": "^3.5.0",
"mock-env": "^0.2.0",
"nyc": "^10.3.2",
"object.values": "^1.0.4",
"prettier": "^1.5.2",
"prettier-eslint-cli": "^4.1.1",
"react": "^16.0.0-alpha.12",
"rimraf": "^2.6.1",
"safe-publish-latest": "^1.1.1"
},
"peerDependencies": {
"react": "^0.14 || ^15.0.0 || ^16.0.0-alpha"
}
}