File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4
4
"description" : " A higher order React component for Sortable (https://github.com/RubaXa/Sortable)." ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
7
- "prepublish" : " npm run lint && npm run build && npm test && npm run lint " ,
7
+ "prepublish" : " npm run lint && npm run test && npm run build && npm run dist && npm run release " ,
8
8
"build" : " babel ./src --out-dir ./lib" ,
9
9
"test" : " ./babel-tap --coverage test/*.js" ,
10
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" ,
11
12
"lint" : " eslint ./src" ,
12
13
"lint:fix" : " eslint --fix ./src" ,
13
14
"precommit-check" : " npm run lint" ,
You can’t perform that action at this time.
0 commit comments