forked from chenckang/react-json-pretty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.36 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": "react-json-pretty",
"version": "2.2.0",
"description": "A code formatting tool for raw json data",
"main": "dist/JSONPretty.js",
"typings": "types/JSONPretty.d.ts",
"files": [
"dist",
"themes",
"types",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"test": "jest --verbose=true --coverage",
"build": "mkdir -p dist && mkdir -p themes && npm run build-styl && npm run build-jsx",
"lint": "tslint --project tsconfig.json --config tslint.json './src/**/*.tsx'",
"precommit": "npm run build && npm run lint",
"prepush": "npm test",
"release": "standard-version",
"patch": "npm run release -- --release-as patch",
"build-styl-monikai": "stylus --compress < src/monikai.styl > themes/monikai.css",
"build-styl-1337": "stylus --compress < src/1337.styl > themes/1337.css",
"build-styl-acai": "stylus --compress < src/acai.styl > themes/acai.css",
"build-styl-adventure": "stylus --compress < src/adventure_time.styl > themes/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": "tsc -p tsconfig.json"
},
"keywords": [
"react",
"json",
"format",
"pretty",
"react-component"
],
"author": "[email protected]",
"license": "MIT",
"peerDependencies": {
"react": ">=15.0",
"react-dom": ">=15.0"
},
"devDependencies": {
"@types/enzyme": "^3.1.15",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/jest": "^23.3.11",
"@types/prop-types": "^15.5.8",
"@types/react": "^16.7.18",
"@types/react-dom": "^16.0.11",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.9.1",
"enzyme-to-json": "^3.3.5",
"husky": "^1.3.1",
"jest": "^24.5.0",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-test-renderer": "^16.7.0",
"standard-version": "^4.4.0",
"stylus": "^0.54.5",
"ts-jest": "^23.10.5",
"tslint": "^5.12.0",
"typescript": "^3.2.2",
"webpack": "^4.28.3"
},
"repository": {
"type": "git",
"url": "https://github.com/chenckang/react-json-pretty"
},
"dependencies": {
"prop-types": "^15.6.2"
},
"jest": {
"collectCoverageFrom": [
"**.jsx",
"src/**.js"
],
"coverageDirectory": "tests",
"coverageReporters": [
"lcov"
]
}
}