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 4
4
"description" : " A React component built on top of Sortable (https://github.com/RubaXa/Sortable)." ,
5
5
"main" : " lib/index.js" ,
6
6
"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 " ,
10
10
"dist" : " webpack; BUILD_ENV=dist webpack" ,
11
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
12
"lint" : " eslint ./src" ,
13
13
"lint:fix" : " eslint --fix ./src" ,
14
14
"precommit-check" : " npm run lint" ,
15
+ "test" : " ./babel-tap --coverage test/*.js" ,
15
16
"coveralls" : " ./babel-tap --coverage --coverage-report=text-lcov test/*.js | node_modules/.bin/coveralls" ,
16
17
"webpack-dev-server" : " cd examples; webpack-dev-server --hot --inline --host 0.0.0.0 --port 8000"
17
18
},
You can’t perform that action at this time.
0 commit comments