-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
50 lines (50 loc) · 1.43 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
{
"name": "dragsterjs",
"version": "1.6.2",
"description": "Tiny vanilla JS plugin that enables drag'n'drop interactions to a user of your website",
"main": "dragster.js",
"scripts": {
"generate-modules": "node module-generator.js",
"minify": "uglifyjs dragster.js --mangle --compress --comments --output dragster.min.js",
"gzip": "gzip -c dragster.min.js > dragster.min.js.gz",
"deploy": "yarn generate-modules && yarn minify && yarn gzip",
"test": "npx kill-port 8370; yarn serve & yarn run cypress open",
"serve": "yarn run http-server . -p 8370"
},
"repository": {
"type": "git",
"url": "https://github.com/sunpietro/dragster.git"
},
"keywords": [
"javascript",
"drag",
"drop"
],
"author": "Piotr Nalepa",
"license": "MIT",
"bugs": {
"url": "https://github.com/sunpietro/dragster/issues"
},
"homepage": "https://github.com/sunpietro/dragster",
"devDependencies": {
"@testing-library/cypress": "^8.0.3",
"cypress": "^10.10.0",
"eslint": "^8.25.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.2.1",
"http-server": "^14.1.1",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"prettier": "^2.7.1",
"uglify-js": "^3.17.3"
},
"lint-staged": {
"dragster-script.js": "yarn lint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint dragster-script.js && yarn test"
}
}
}