-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
70 lines (70 loc) · 2.18 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
{
"name": "react-json-pretty",
"version": "1.7.7",
"description": "A code formatting tool for raw json data",
"main": "src/JSONPretty.js",
"scripts": {
"test": "jest --coverage --silent",
"build": "npm run build-styl && npm run build-jsx",
"eslint": "eslint JSONPretty.jsx",
"precommit": "npm run build && npm run eslint",
"prepush": "npm test",
"release": "standard-version",
"patch": "npm run release -- --release-as patch",
"build-styl-monikai": "stylus --compress < JSONPretty.monikai.styl > src/JSONPretty.monikai.css",
"build-styl-1337": "stylus --compress < JSONPretty.1337.styl > src/JSONPretty.1337.css",
"build-styl-acai": "stylus --compress < JSONPretty.acai.styl > src/JSONPretty.acai.css",
"build-styl-adventure": "stylus --compress < JSONPretty.adventure_time.styl > src/JSONPretty.adventure_time.css",
"build-styl": "npm run build-styl-monikai && npm run build-styl-1337 && npm run build-styl-acai && npm run build-styl-adventure",
"build-jsx": "babel --presets react --plugins 'transform-object-rest-spread' JSONPretty.jsx -d src"
},
"keywords": [
"react",
"json",
"format",
"pretty",
"react-component"
],
"author": "chenckang@gmail.com",
"license": "MIT",
"peerDependencies": {
"react": ">=15.0",
"react-dom": ">=15.0"
},
"devDependencies": {
"babel-cli": "~6.3.17",
"babel-core": "^6.3.26",
"babel-jest": "^19.0.0",
"babel-loader": "^6.2.0",
"babel-plugin-transform-object-rest-spread": "^6.8.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"eslint": "^3.19.0",
"eslint-plugin-react": "^6.10.3",
"husky": "^0.13.3",
"jest": "^19.0.2",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-test-renderer": "^15.5.4",
"standard-version": "^4.4.0",
"stylus": "^0.54.5",
"webpack": "^2.4.1"
},
"repository": {
"type": "git",
"url": "https://github.com/chenckang/react-json-pretty"
},
"dependencies": {
"create-react-class": "^15.5.2"
},
"jest": {
"collectCoverageFrom": [
"**.jsx",
"src/**.js"
],
"coverageDirectory": "tests",
"coverageReporters": [
"lcov"
]
}
}