forked from FormidableLabs/prism-react-renderer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·67 lines (67 loc) · 1.75 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
{
"name": "prism-react-renderer",
"version": "0.1.6",
"description": "Renders highlighted Prism output using React",
"main": "lib/index.js",
"module": "es/index.js",
"types": "./index.d.ts",
"license": "MIT",
"repository": "[email protected]:FormidableLabs/prism-react-renderer.git",
"files": [
"index.d.ts",
"es",
"lib",
"prism",
"themes"
],
"scripts": {
"build": "run-s build:lib build:es",
"build:lib": "cross-env BABEL_ENV=cjs babel --ignore '**/__tests__/*' --out-dir lib src",
"build:es": "cross-env BABEL_ENV=es babel --ignore '**/__tests__/*' --out-dir es src",
"test": "jest",
"flow": "flow check",
"format": "prettier --write src/**/*.js themes/**/*.js",
"prepublishOnly": "run-p flow build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"{src,themes}/**/*.js": [
"jest --bail --findRelatedTests",
"flow focus-check",
"prettier --write",
"git add"
]
}
},
"peerDependencies": {
"react": ">=0.14.9"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.1.0",
"babel-plugin-macros": "^2.5.0",
"codegen.macro": "^3.0.0",
"cross-env": "^5.2.0",
"flow-bin": "^0.93.0",
"husky": "^1.3.1",
"jest": "^24.1.0",
"lint-staged": "^8.1.4",
"npm-run-all": "^4.1.5",
"prettier": "^1.16.4",
"prismjs": "^1.15.0",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-testing-library": "^6.0.0"
}
}