48 lines
2.0 KiB
JSON
48 lines
2.0 KiB
JSON
{
|
|
"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\"} --no-git-tag-version && 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 <nicolasbevacqua@gmail.com> (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"
|
|
}
|
|
}
|