File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 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 },
You can’t perform that action at this time.
0 commit comments