Skip to content

Commit 73fb690

Browse files
committed
Rework build flow
1 parent c4b1f83 commit 73fb690

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

package.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
{
22
"name": "react-sortablejs",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "A higher order React component for Sortable (https://github.com/RubaXa/Sortable).",
5-
"main": "dist/react-sortable.js",
5+
"main": "lib/index.js",
66
"scripts": {
7-
"prepublish": "npm run build && npm test",
8-
"build": "webpack",
7+
"prepublish": "npm run lint && npm run build && npm test",
8+
"build": "babel ./src --out-dir ./lib",
99
"test": "./babel-tap --coverage test/*.js",
10+
"lint": "eslint ./src",
11+
"lint:fix": "eslint --fix ./src",
12+
"precommit-check": "npm run lint",
1013
"coveralls": "./babel-tap --coverage --coverage-report=text-lcov test/*.js | node_modules/.bin/coveralls"
1114
},
15+
"pre-commit": [
16+
"precommit-check"
17+
],
1218
"repository": {
1319
"type": "git",
1420
"url": "git+https://github.com/cheton/react-sortable.git"
@@ -32,9 +38,7 @@
3238
"react-dom": "^0.14.0",
3339
"sortablejs": "1.x"
3440
},
35-
"dependencies": {
36-
"lodash": "^4.6.1"
37-
},
41+
"dependencies": {},
3842
"devDependencies": {
3943
"babel": "^6.5.2",
4044
"babel-cli": "^6.6.5",

0 commit comments

Comments
 (0)