Skip to content

Commit be76699

Browse files
committed
Refactor: tidy build scripts
1 parent 450d890 commit be76699

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,6 @@
22
"name": "grislyeye.com",
33
"version": "3.32.3",
44
"type": "module",
5-
"scripts": {
6-
"build": "npx @11ty/eleventy",
7-
"clean": "rimraf _site",
8-
"start": "npx @11ty/eleventy --serve --quiet",
9-
"debug": "DEBUG=Eleventy* npx @11ty/eleventy",
10-
"debug:start": "DEBUG=Eleventy* npx @11ty/eleventy --serve --quiet",
11-
"benchmark": "DEBUG=Eleventy:Benchmark* npx @11ty/eleventy",
12-
"test": "npm run test:lint && npm run test:links",
13-
"test:pr": "npm run test:lint && npm run test:links:soft",
14-
"test:lint": "prettier . --check && eslint --ext .js . && stylelint public/css/*.css",
15-
"test:lint:fix": "prettier . --write",
16-
"test:links": "npx linkinator ./_site --retry --concurrency 1 --recurse --check-css --check-fragments --verbosity error --skip '(.*\\.reddit\\.com)'",
17-
"test:links:soft": "npx linkinator ./_site --status-code '404:warn' --retry --concurrency 1 --recurse --check-css --check-fragments --verbosity error --skip '(.*\\.reddit\\.com)'",
18-
"post:new": "plop post",
19-
"product:new": "plop product",
20-
"review:new": "plop review"
21-
},
225
"author": {
236
"name": "Ric Wood",
247
"email": "ric@grislyeye.com",
@@ -63,5 +46,22 @@
6346
"rimraf": "^6.1.3",
6447
"stylelint": "^17.3.0",
6548
"stylelint-config-standard": "^40.0.0"
49+
},
50+
"scripts": {
51+
"build": "npx @11ty/eleventy",
52+
"clean": "rimraf _site",
53+
"start": "npx @11ty/eleventy --serve --quiet",
54+
"debug": "DEBUG=Eleventy* npx @11ty/eleventy",
55+
"debug:start": "DEBUG=Eleventy* npx @11ty/eleventy --serve --quiet",
56+
"benchmark": "DEBUG=Eleventy:Benchmark* npx @11ty/eleventy",
57+
"test": "npm run test:lint && npm run test:links",
58+
"test:pr": "npm run test:lint && npm run test:links:soft",
59+
"test:lint": "prettier . --check && eslint --ext .js . && stylelint public/css/*.css",
60+
"test:lint:fix": "prettier . --write",
61+
"test:links": "npx linkinator ./_site --retry --concurrency 1 --recurse --check-css --check-fragments --verbosity error --skip '(.*\\.reddit\\.com)'",
62+
"test:links:soft": "npx linkinator ./_site --status-code '404:warn' --retry --concurrency 1 --recurse --check-css --check-fragments --verbosity error --skip '(.*\\.reddit\\.com)'",
63+
"post:new": "plop post",
64+
"product:new": "plop product",
65+
"review:new": "plop review"
6666
}
6767
}

0 commit comments

Comments
 (0)