-
Notifications
You must be signed in to change notification settings - Fork 112
/
package.json
110 lines (110 loc) · 2.83 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "react-toastr",
"version": "3.0.0",
"description": "React.js toastr component",
"license": "MIT",
"author": {
"name": "tomchentw",
"email": "[email protected]",
"url": "https://github.com/tomchentw"
},
"repository": {
"type": "git",
"url": "https://github.com/tomchentw/react-toastr"
},
"bugs": {
"url": "https://github.com/tomchentw/react-toastr/issues"
},
"homepage": "https://tomchentw.github.io/react-toastr/",
"main": "lib/index.js",
"files": ["lib/", "src/", "CHANGELOG.md"],
"keywords": [
"React.js",
"React",
"react-component",
"toastr",
"alert",
"toast",
"message",
"popup",
"jQuery"
],
"scripts": {
"precommit": "lint-staged",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build",
"test": "react-scripts test",
"test:once": "cross-env CI=true npm test",
"prebuild:lib": "rimraf lib",
"build:lib": "cross-env NODE_ENV=production babel src --out-dir lib",
"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"
},
"lint-staged": {
"*.{js,jsx,json,css}": ["prettier --write", "git add"]
},
"babel": {
"plugins": [
"lodash",
"transform-class-properties",
"transform-object-rest-spread",
"transform-runtime"
],
"presets": [
[
"env",
{
"targets": {
"ie": 9
}
}
],
"react"
]
},
"prettier": {
"semi": false,
"singleQuote": false,
"trailingComma": "es5"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"classnames": "^2.2.5",
"dom-helpers": "^3.2.1",
"lodash": "^4.17.4"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},
"devDependencies": {
"animate.css": "^3.5.2",
"babel-cli": "^6.26.0",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"cross-env": "^5.0.5",
"husky": "^0.14.3",
"jquery": "^3.2.1",
"lint-staged": "^4.1.3",
"prettier": "^1.6.1",
"prismjs": "^1.6.0",
"react": "^15.0.0",
"react-dom": "^15.0.0",
"react-scripts": "^1.0.11",
"react-styleguidist": "^6.0.24",
"react-test-renderer": "^15.0.0",
"rimraf": "^2.6.1",
"standard-version": "^4.2.0",
"toastr": "^2.1.2"
}
}