forked from bevacqua/dragula
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
52 lines (52 loc) · 2.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"name": "dragula",
"version": "3.7.2",
"description": "Drag and drop so simple it hurts",
"main": "dragula.js",
"scripts": {
"build": "npm run scripts && npm run styles",
"deploy": "npm run build && npm run deployment && npm run sync",
"deploy-plugins": "npm run deploy-react ; npm run deploy-angular ; cd ../dragula",
"deploy-react": "cd ../react-dragula ; git pull ; npm i -S dragula@* ; git commit package.json -m 'bumped dragula version'; npm run deploy",
"deploy-angular": "cd ../angularjs-dragula ; git pull ; npm i -S dragula@* ; git commit package.json -m 'bumped dragula version'; npm run deploy",
"deployment": "git add dist && npm version ${BUMP:-\"patch\"} --no-git-tag-version && git add package.json && git commit -am \"Autogenerated pre-deployment commit\" && bower version ${BUMP:-\"patch\"} && git reset HEAD~2 && git add . && git commit -am \"Release $(cat package.json | jq -r .version)\" && git push --tags && npm publish && git push",
"scripts": "jshint . && browserify -s dragula -do dist/dragula.js dragula.js && uglifyjs -m -c -o dist/dragula.min.js dist/dragula.js",
"start": "watchify -dvo example/example.min.js example/example.js & watchify -dvs dragula -o dist/dragula.js dragula.js & stylus -w dragula.styl --import node_modules/nib -o dist",
"styles": "stylus dragula.styl --import node_modules/nib -o dist && cleancss dist/dragula.css -o dist/dragula.min.css",
"sync": "git checkout gh-pages ; git merge master ; git push ; git checkout master",
"lint": "jshint . --reporter node_modules/jshint-stylish/index.js",
"test": "npm run lint && browserify test/*.js | tape-run",
"test-watch": "hihat test/*.js -p tap-dev-tool"
},
"repository": {
"type": "git",
"url": "https://github.com/bevacqua/dragula.git"
},
"author": "Nicolas Bevacqua <[email protected]> (http://bevacqua.io/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/bevacqua/dragula/issues"
},
"homepage": "https://github.com/bevacqua/dragula",
"dependencies": {
"contra": "1.9.4",
"crossvent": "1.5.4"
},
"devDependencies": {
"bower": "1.5.2",
"browserify": "11.0.0",
"clean-css": "3.3.6",
"electron-prebuilt": "0.30.1",
"hihat": "1.2.1",
"jshint": "2.8.0",
"jshint-stylish": "2.0.1",
"nib": "1.1.0",
"phantomjs": "2.1.3",
"stylus": "0.52.0",
"tap-dev-tool": "1.3.0",
"tape": "4.0.1",
"tape-run": "^2.1.3",
"uglify-js": "2.4.24",
"watchify": "3.3.0"
}
}