-
Notifications
You must be signed in to change notification settings - Fork 266
/
package.json
86 lines (86 loc) · 2.66 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
{
"name": "github-buttons",
"version": "4.2.2",
"description": "Showcase your GitHub (repo's) success with these buttons",
"private": true,
"homepage": "https://ghbtns.com/",
"author": "Mark Otto <[email protected]> (https://github.com/mdo)",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/mdo/github-buttons.git"
},
"bugs": {
"url": "https://github.com/mdo/github-buttons/issues"
},
"keywords": [
"github",
"buttons",
"iframe",
"html"
],
"scripts": {
"start": "npm-run-all --parallel build docs-serve watch",
"docs-build": "bundle exec jekyll build",
"docs-serve": "bundle exec jekyll serve",
"build": "inline-source --compress false --root src src/btn.html | html-minifier-terser --config-file html-minifier.json -o docs/github-btn.html",
"dist": "npm run build",
"stylelint": "stylelint \"**/*.{css,scss}\" --ignore-path .gitignore",
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"lint": "npm-run-all --continue-on-error --parallel lockfile-lint stylelint xo",
"xo": "xo",
"netlify": "cross-env-shell JEKYLL_ENV=netlify npm-run-all build docs-build",
"test": "npm-run-all lint build docs-build",
"watch": "npm-run-all --parallel watch-*",
"watch-css": "chokidar \"{src,docs/_sass}/**/*.{css,scss}\" --initial --command \"npm run stylelint\"",
"watch-js": "chokidar \"src/*.js\" --initial --command \"npm run xo\"",
"watch-main": "chokidar src/ --initial --command \"npm run build\""
},
"devDependencies": {
"chokidar-cli": "^3.0.0",
"cross-env": "^7.0.3",
"html-minifier-terser": "^7.2.0",
"inline-source-cli": "^2.0.0",
"lockfile-lint": "^4.14.0",
"npm-run-all2": "^6.2.2",
"stylelint": "^16.9.0",
"stylelint-config-twbs-bootstrap": "^15.0.0",
"xo": "^0.59.3"
},
"engines": {
"node": ">=18"
},
"overrides": {
"inline-source-cli": {
"inline-source": "^8.0.2"
}
},
"xo": {
"envs": [
"browser"
],
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "script"
},
"space": true,
"rules": {
"capitalized-comments": "off",
"default-case": "off",
"object-curly-spacing": [
"error",
"always"
],
"prefer-template": "error",
"space-before-function-paren": [
"error",
"never"
],
"spaced-comment": "off",
"unicorn/no-negated-condition": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-top-level-await": "off",
"unicorn/prevent-abbreviations": "off"
}
}
}