Skip to content

Commit

Permalink
chore(package.json): add animate.css, react-test-renderer and `to…
Browse files Browse the repository at this point in the history
…astr` to devDependencies
  • Loading branch information
tomchentw committed Oct 28, 2017
1 parent da231dc commit f9c414d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
22 changes: 15 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
},
"homepage": "https://tomchentw.github.io/react-toastr/",
"main": "lib/index.js",
"files": ["lib/", "src/", "CHANGELOG.md"],
"files": [
"lib/",
"src/",
"CHANGELOG.md"
],
"keywords": [
"React.js",
"React",
Expand All @@ -39,16 +43,17 @@
"prebuild:lib": "rimraf lib",
"build:lib": "cross-env NODE_ENV=production babel src/lib --out-dir lib",
"precommit:lib": "npm run build:lib",
"commit:lib":
"git add -A && git commit -m 'chore(lib): compile from src with `babel`'",
"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`'",
"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"]
"*.{js,jsx,json,css}": [
"prettier --write",
"git add"
]
},
"babel": {
"plugins": [
Expand Down Expand Up @@ -88,6 +93,7 @@
"react-dom": "^0.14.0 || ^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",
Expand All @@ -105,7 +111,9 @@
"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"
"standard-version": "^4.2.0",
"toastr": "^2.1.2"
}
}
15 changes: 15 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ amdefine@>=0.0.4:
version "1.0.1"
resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5"

animate.css@^3.5.2:
version "3.5.2"
resolved "https://registry.yarnpkg.com/animate.css/-/animate.css-3.5.2.tgz#91e668dc069a808e5e499514867b97aae0166c36"

anser@1.4.1:
version "1.4.1"
resolved "https://registry.yarnpkg.com/anser/-/anser-1.4.1.tgz#c3641863a962cebef941ea2c8706f2cb4f0716bd"
Expand Down Expand Up @@ -6468,6 +6472,13 @@ react-styleguidist@^6.0.24:
webpack-merge "^4.1.0"
webpage "^0.3.0"

react-test-renderer@^15.0.0:
version "15.6.2"
resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-15.6.2.tgz#d0333434fc2c438092696ca770da5ed48037efa8"
dependencies:
fbjs "^0.8.9"
object-assign "^4.1.0"

"react@^15 || ^16":
version "16.0.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.0.0.tgz#ce7df8f1941b036f02b2cca9dbd0cb1f0e855e2d"
Expand Down Expand Up @@ -7589,6 +7600,10 @@ to-fast-properties@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47"

toastr@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/toastr/-/toastr-2.1.2.tgz#fd69066ae7578a5b3357725fc9c7c335e9b681df"

toposort@^1.0.0:
version "1.0.6"
resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.6.tgz#c31748e55d210effc00fdcdc7d6e68d7d7bb9cec"
Expand Down

0 comments on commit f9c414d

Please sign in to comment.