-
Notifications
You must be signed in to change notification settings - Fork 356
/
package.json
106 lines (106 loc) · 2.28 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "swag-for-dev",
"version": "1.0.0",
"description": "swag opportunities for developers",
"main": "index.js",
"author": "Swapnil Agarwal",
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/swapagarwal/swag-for-dev/issues"
},
"homepage": "https://devswag.io",
"repository": {
"type": "git",
"url": "git+https://github.com/swapagarwal/swag-for-dev.git"
},
"dependencies": {
"p-queue": "^6.6.1"
},
"devDependencies": {
"@babel/core": "7.15.0",
"@babel/preset-env": "7.12.1",
"autoprefixer": "10.3.6",
"chai": "4.3.4",
"chalk": "4.1.2",
"cross-env": "7.0.3",
"del": "6.0.0",
"eclint": "2.8.1",
"got": "11.8.2",
"gulp": "4.0.2",
"gulp-babel": "8.0.0",
"gulp-concat": "2.6.1",
"gulp-htmlmin": "5.0.1",
"gulp-minify": "3.1.0",
"gulp-postcss": "9.0.1",
"gulp-pug": "5.0.0",
"gulp-responsive": "3.0.1",
"gulp-rev": "9.0.0",
"gulp-rev-delete-original": "0.2.3",
"gulp-stylus": "2.7.0",
"gulp-uglify-es": "3.0.0",
"gulp-webserver": "0.9.1",
"husky": "4.3.0",
"lint-prepush": "2.2.0",
"merge-stream": "2.0.0",
"mocha": "9.1.2",
"mocha.parallel": "0.15.6",
"postcss": "8.3.6",
"sharp": "0.29.1",
"xo": "0.30.0"
},
"scripts": {
"start": "gulp",
"lint": "eclint check && xo",
"lint:fix": "eclint fix && xo --fix",
"test": "mocha --colors --retries 3 test/functional/data.spec.js",
"build": "cross-env NODE_ENV=production gulp build"
},
"browserslist": [
"last 2 versions"
],
"xo": {
"rules": {
"unicorn/prefer-spread": "off"
},
"overrides": [
{
"files": [
"src/js/**/*.js"
],
"envs": [
"browser"
]
},
{
"files": [
"test/**/*.js"
],
"envs": [
"node",
"mocha"
],
"rules": {
"func-names": "off",
"prefer-arrow-callback": "off",
"no-unused-expressions": "off",
"unicorn/catch-error-name": "off"
}
}
]
},
"husky": {
"hooks": {
"pre-push": "lint-prepush"
}
},
"lint-prepush": {
"tasks": {
"**/*": [
"eclint check"
],
"**/*.{js,json}": [
"xo"
]
}
}
}