From 7b232cd6b447de3e2b450e9e3dd3b1432f963aba Mon Sep 17 00:00:00 2001 From: Deepak Kumar Jain Date: Sun, 12 Mar 2017 20:59:32 +0530 Subject: [PATCH] Updated the package.json (#124) --- package.json | 5 +++-- yarn.lock | 8 +++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 6adb2c6..2cd28da 100644 --- a/package.json +++ b/package.json @@ -24,13 +24,13 @@ ], "scripts": { "build:node": "babel src --out-dir lib --source-maps inline", - "build:css": "rm -rf react-table.css && stylus src/index.styl --compress -o react-table.css && yarn run css:autoprefix", + "build:css": "rimraf react-table.css && stylus src/index.styl --compress -o react-table.css && yarn run css:autoprefix", "css:autoprefix": "postcss --use autoprefixer react-table.css -r", "watch": "npm-run-all --parallel watch:*", "watch:node": "onchange 'src/**/*.js' -i -- npm run build:node", "watch:css": "onchange 'src/**/*.styl' -i -- npm run build:css", "test": "standard", - "umd": "rm -rf react-table.js && browserify lib/index.js -s reactTable -x react -t babelify -g uglifyify -o react-table.js", + "umd": "rimraf react-table.js && browserify lib/index.js -s reactTable -x react -t babelify -g uglifyify -o react-table.js", "prepublish": "npm-run-all build:* && npm run umd", "storybook": "start-storybook -p 8000 -c .storybook", "docs": "build-storybook -o docs && cp .storybook/CNAME docs/CNAME" @@ -61,6 +61,7 @@ "react": "^15.4.2", "react-dom": "^15.4.2", "react-json-tree": "^0.10.1", + "rimraf": "^2.6.1", "standard": "^8.0.0", "storybook": "^0.0.0", "stylus": "^0.54.5", diff --git a/yarn.lock b/yarn.lock index 53cc18e..97c84c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2998,7 +2998,7 @@ indexof@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" -inflight@^1.0.4, inflight@^1.0.6: +inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" dependencies: @@ -4964,6 +4964,12 @@ rimraf@2, rimraf@^2.2.8, rimraf@~2.5.1, rimraf@~2.5.4: dependencies: glob "^7.0.5" +rimraf@^2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d" + dependencies: + glob "^7.0.5" + ripemd160@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-0.2.0.tgz#2bf198bde167cacfa51c0a928e84b68bbe171fce"