|
14 | 14 | "author": "Open Terms Archive",
|
15 | 15 | "scripts": {
|
16 | 16 | "build": "npm run jsdoc && hugo --minify",
|
17 |
| - "test": "npm run lint:markdown && npm run lint:css && npm run lint:js && npm run test:links", |
18 |
| - "pretest:links": "npm run build", |
19 |
| - "test:links": "linkinator ./public --recurse --verbosity error", |
20 |
| - "lint:markdown": "markdownlint *.md content/**/*.md", |
| 17 | + "jsdoc": "jsdoc2md --files './node_modules/@opentermsarchive/engine/src/**/*.js' --template scripts/jsdoc/template/node.hbs -g grouped --name-format -d 4 > content/api/node.md", |
21 | 18 | "lint:css": "stylelint \"themes/opentermsarchive/assets/css/*.css\"",
|
22 | 19 | "lint:js": "eslint themes/opentermsarchive/assets/js/",
|
| 20 | + "lint:markdown": "markdownlint *.md content/**/*.md", |
23 | 21 | "start:dev": "npm run jsdoc && hugo serve --watch --logLevel debug --disableFastRender --ignoreCache",
|
24 |
| - "jsdoc": "jsdoc2md --files './node_modules/@opentermsarchive/engine/src/**/*.js' --template scripts/jsdoc/template/node.hbs -g grouped --name-format -d 4 > content/api/node.md" |
| 22 | + "test": "npm run lint:markdown && npm run lint:css && npm run lint:js && npm run test:links", |
| 23 | + "pretest:links": "npm run build", |
| 24 | + "test:links": "linkinator ./public --recurse --verbosity error" |
| 25 | + }, |
| 26 | + "dependencies": { |
| 27 | + "@opentermsarchive/engine": "github:OpenTermsArchive/engine#main", |
| 28 | + "minireset.css": "^0.0.7", |
| 29 | + "postcss": "^8.4.19", |
| 30 | + "postcss-cli": "^10.1.0", |
| 31 | + "postcss-mixins": "^9.0.4", |
| 32 | + "postcss-preset-env": "^7.8.3" |
25 | 33 | },
|
26 | 34 | "devDependencies": {
|
27 | 35 | "eslint": "^8.31.0",
|
|
33 | 41 | "simple-icons": "^13.17.0",
|
34 | 42 | "stylelint": "^14.16.1",
|
35 | 43 | "stylelint-config-standard": "^29.0.0"
|
36 |
| - }, |
37 |
| - "dependencies": { |
38 |
| - "@opentermsarchive/engine": "github:OpenTermsArchive/engine#main", |
39 |
| - "minireset.css": "^0.0.7", |
40 |
| - "postcss": "^8.4.19", |
41 |
| - "postcss-cli": "^10.1.0", |
42 |
| - "postcss-mixins": "^9.0.4", |
43 |
| - "postcss-preset-env": "^7.8.3" |
44 | 44 | }
|
45 | 45 | }
|
0 commit comments