forked from jakearchibald/svgomg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2 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
{
"name": "svgomg",
"private": true,
"version": "1.15.1",
"repository": {
"type": "git",
"url": "git+https://github.com/jakearchibald/svgomg.git"
},
"keywords": [],
"author": "Jake Archibald",
"bugs": {
"url": "https://github.com/jakearchibald/svgomg/issues"
},
"homepage": "https://jakearchibald.github.io/svgomg/",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/plugin-replace": "^3.0.0",
"gulp": "^4.0.2",
"gulp-htmlmin": "^5.0.1",
"gulp-nunjucks": "^5.1.0",
"gulp-sass": "^5.0.0",
"gulp-sourcemaps": "^3.0.0",
"nanoevents": "^6.0.1",
"pako": "^2.0.4",
"prismjs": "^1.25.0",
"rollup": "^2.57.0",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.42.1",
"sirv-cli": "^1.0.14",
"stylelint": "^13.13.1",
"stylelint-config-twbs-bootstrap": "^2.2.3",
"svgo": "^2.7.0",
"xo": "^0.45.0"
},
"scripts": {
"build": "gulp clean-build",
"start": "sirv build --port 8080 --dev --no-clear",
"dev": "gulp dev",
"lint": "npm run lint:js && npm run lint:css",
"lint:css": "stylelint src/css/ --rd --risd",
"lint:js": "xo",
"fix": "xo --fix",
"test": "npm run lint && npm run build"
},
"prettier": {
"bracketSpacing": true,
"singleQuote": true
},
"xo": {
"space": true,
"prettier": true,
"envs": [
"browser"
],
"rules": {
"arrow-body-style": "off",
"capitalized-comments": "off",
"no-multi-assign": "off",
"no-negated-condition": "off",
"no-shadow": "error",
"prefer-template": "error",
"spaced-comment": "off",
"unicorn/explicit-length-check": "off",
"unicorn/no-unused-properties": "error",
"unicorn/numeric-separators-style": "off",
"unicorn/prefer-add-event-listener": "off",
"unicorn/prefer-module": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/require-post-message-target-origin": "off"
}
}
}