We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec34b44 commit ff50b5fCopy full SHA for ff50b5f
1 file changed
package.json
@@ -4,10 +4,11 @@
4
"description": "A higher order React component for Sortable (https://github.com/RubaXa/Sortable).",
5
"main": "lib/index.js",
6
"scripts": {
7
- "prepublish": "npm run lint && npm run build && npm test && npm run lint",
+ "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",
10
"dist": "webpack; BUILD_ENV=dist webpack",
11
+ "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",
12
"lint": "eslint ./src",
13
"lint:fix": "eslint --fix ./src",
14
"precommit-check": "npm run lint",
0 commit comments