forked from FormidableLabs/prism-react-renderer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·69 lines (69 loc) · 1.87 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·69 lines (69 loc) · 1.87 KB
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
{
"name": "@bendtherules/prism-react-renderer",
"version": "1.2.2",
"description": "*Fork of prism-react-renderer with hooks* Renders highlighted Prism output using React",
"sideEffects": false,
"main": "dist/index.cjs.js",
"module": "dist/index.js",
"types": "index.d.ts",
"license": "MIT",
"repository": "https://github.com/bendtherules/prism-react-renderer",
"files": [
"index.d.ts",
"dist",
"prism",
"themes"
],
"scripts": {
"build": "rollup -c rollup.config.js",
"test": "jest",
"flow": "flow check",
"format": "prettier --write src/**/*.js",
"prepublishOnly": "run-p flow build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.js": [
"prettier --write",
"git add"
]
},
"peerDependencies": {
"react": ">=0.14.9"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-flow-strip-types": "^7.9.0",
"@babel/plugin-transform-object-assign": "^7.8.3",
"@babel/plugin-transform-react-jsx": "^7.9.4",
"@babel/preset-env": "^7.9.5",
"@babel/preset-flow": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"@testing-library/react": "^10.0.3",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^25.4.0",
"babel-plugin-macros": "^2.8.0",
"codegen.macro": "^4.0.0",
"flow-bin": "^0.123.0",
"globby": "^11.0.0",
"husky": "^4.2.5",
"jest": "^25.4.0",
"lint-staged": "^10.1.7",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"prismjs": "^1.20.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"rollup": "^2.7.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0"
}
}