Skip to content

Commit 6ce988f

Browse files
committed
Lint
1 parent c1ccb62 commit 6ce988f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,22 @@
1414
"author": "Open Terms Archive",
1515
"scripts": {
1616
"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",
2118
"lint:css": "stylelint \"themes/opentermsarchive/assets/css/*.css\"",
2219
"lint:js": "eslint themes/opentermsarchive/assets/js/",
20+
"lint:markdown": "markdownlint *.md content/**/*.md",
2321
"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"
2533
},
2634
"devDependencies": {
2735
"eslint": "^8.31.0",
@@ -33,13 +41,5 @@
3341
"simple-icons": "^13.17.0",
3442
"stylelint": "^14.16.1",
3543
"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"
4444
}
4545
}

0 commit comments

Comments
 (0)