forked from FormidableLabs/prism-react-renderer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·89 lines (89 loc) · 2.16 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
83
84
85
86
87
88
89
{
"name": "prism-react-renderer",
"version": "1.2.1",
"description": "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/FormidableLabs/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"
},
"babel": {
"presets": [
"@babel/preset-flow",
"@babel/preset-react",
[
"@babel/preset-env",
{
"loose": true,
"modules": "commonjs"
}
]
],
"plugins": [
[
"@babel/plugin-proposal-class-properties",
{
"loose": true
}
],
"babel-plugin-macros"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.js": [
"prettier --write"
]
},
"peerDependencies": {
"react": ">=0.14.9"
},
"devDependencies": {
"@babel/core": "^7.12.17",
"@babel/plugin-proposal-class-properties": "^7.12.13",
"@babel/plugin-transform-flow-strip-types": "^7.12.13",
"@babel/plugin-transform-object-assign": "^7.12.13",
"@babel/plugin-transform-react-jsx": "^7.12.17",
"@babel/preset-env": "^7.12.17",
"@babel/preset-flow": "^7.12.13",
"@babel/preset-react": "^7.12.13",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@testing-library/react": "^11.2.5",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^26.6.3",
"babel-plugin-macros": "^3.0.1",
"codegen.macro": "^4.1.0",
"flow-bin": "0.123.0",
"globby": "^11.0.2",
"husky": "^4.2.5",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"prismjs": "^1.23.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rollup": "^2.39.0"
}
}