-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpackage.json
91 lines (91 loc) · 2.73 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
90
91
{
"name": "react-prism",
"version": "4.3.2",
"description": "React.js + prismjs syntax hightlight component",
"main": "lib/index.js",
"files": ["lib/", "src/", "CHANGELOG.md"],
"lint-staged": {
"*.{js,jsx,json,css}": ["prettier --write", "git add"]
},
"scripts": {
"precommit": "lint-staged",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build",
"test": "react-scripts test --env=jsdom",
"pretest": "npm run lint",
"test:once": "cross-env CI=true npm test",
"clean": "rimraf lib",
"lint": "cross-env NODE_ENV=test eslint .",
"prebuild:lib": "npm run lint && npm run clean",
"build:lib":
"cross-env NODE_ENV=production babel src/ --out-dir lib/ --ignore spec.js",
"precommit:lib": "npm run build:lib",
"commit:lib":
"git add -A && git commit -m 'chore(lib): compile from src with `babel`'",
"precommit:docs": "npm run styleguide:build",
"commit:docs":
"git add -A && git commit -m 'docs: compile from src with `styleguidist`'",
"prerelease": "npm run commit:lib && npm run commit:docs",
"release":
"standard-version -m 'chore(release): %s \n\n* CHANGELOG: https://github.com/tomchentw/react-prism/blob/v%s/CHANGELOG.md'"
},
"repository": {
"type": "git",
"url": "https://github.com/tomchentw/react-prism"
},
"keywords": [
"React.js",
"React",
"react-component",
"prismjs",
"prism",
"hightlight",
"hightlight.js",
"google code prettify",
"prettify",
"code prettify",
"syntax",
"syntax hightlight",
"worker",
"webworker"
],
"author": {
"name": "tomchentw",
"email": "[email protected]",
"url": "https://github.com/tomchentw"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/tomchentw/react-prism/issues"
},
"homepage": "https://tomchentw.github.io/react-prism/",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.0",
"babel-plugin-transform-flow-comments": "^6.8.0",
"babel-plugin-typecheck": "^3.9.0",
"babel-preset-env": "^1.5.2",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"codeclimate-test-reporter": "^0.5.0",
"cross-env": "^5.0.5",
"eslint": "^4.6.1",
"eslint-config-prettier": "^2.4.0",
"eslint-plugin-prettier": "^2.2.0",
"husky": "^0.14.3",
"lint-staged": "^6.0.0",
"prettier": "^1.6.1",
"prismjs": "^1.7.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-scripts": "^1.0.13",
"react-styleguidist": "^6.0.24",
"rimraf": "^2.6.2",
"standard-version": "^4.3.0-candidate.0"
},
"peerDependencies": {
"prop-types": "^15.5.0",
"react": "^15.5.0 || ^16.0.0"
}
}