-
-
Notifications
You must be signed in to change notification settings - Fork 2k
/
package.json
47 lines (47 loc) · 1.99 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
{
"name": "dragula",
"version": "3.7.3",
"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",
"deployment": "git add dist && npm version ${BUMP:-\"patch\"} && git add package.json && git commit -am \"Autogenerated pre-deployment commit\" && 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.5"
},
"devDependencies": {
"browserify": "16.5.2",
"clean-css": "4.2.3",
"clean-css-cli": "^4.3.0",
"hihat": "2.6.4",
"jshint": "2.12.0",
"jshint-stylish": "2.2.1",
"nib": "1.1.2",
"stylus": "0.54.8",
"tap-dev-tool": "1.3.0",
"tape": "5.0.1",
"tape-run": "8.0.0",
"uglify-js": "3.11.0",
"watchify": "3.11.1"
}
}