Skip to content

Commit 80f7b66

Browse files
committed
Update package.json
1 parent 44c672e commit 80f7b66

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
"description": "A React component built on top of Sortable (https://github.com/RubaXa/Sortable).",
55
"main": "lib/index.js",
66
"scripts": {
7-
"prepublish": "npm run lint && npm run test && npm run build && npm run dist && npm run release",
8-
"build": "babel ./src --out-dir ./lib",
9-
"test": "./babel-tap --coverage test/*.js",
7+
"prepublish": "npm run lint && npm test && npm run build && npm run dist && npm run build-examples && npm run release",
8+
"build": "babel --out-dir ./lib ./src",
9+
"build-examples": "cd examples; webpack",
1010
"dist": "webpack; BUILD_ENV=dist webpack",
1111
"release": "mkdir -p releases; cp -f dist/react-sortable.js releases/react-sortable-${npm_package_version}.js; cp -f dist/react-sortable.min.js releases/react-sortable-${npm_package_version}.min.js",
1212
"lint": "eslint ./src",
1313
"lint:fix": "eslint --fix ./src",
1414
"precommit-check": "npm run lint",
15+
"test": "./babel-tap --coverage test/*.js",
1516
"coveralls": "./babel-tap --coverage --coverage-report=text-lcov test/*.js | node_modules/.bin/coveralls",
1617
"webpack-dev-server": "cd examples; webpack-dev-server --hot --inline --host 0.0.0.0 --port 8000"
1718
},

0 commit comments

Comments
 (0)