Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 3.34 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 3.34 KB
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
{
"name": "druxtjs.org",
"version": "0.18.0",
"private": true,
"description": "The druxtjs.org documentation site, with a Drupal backend and a Nuxt frontend",
"license": "MIT",
"packageManager": "npm@8.19.4",
"engines": {
"node": ">=16.20.1"
},
"scripts": {
"setup": "npm run assemble && npm run provision && npm run docs:fetch && sh scripts/link-content.sh && npm run start",
"assemble": "cd drupal && .devtools/assemble",
"provision": "cd drupal && .devtools/provision",
"start": "cd drupal && .devtools/start",
"stop": "cd drupal && .devtools/stop",
"info": "cd drupal && .devtools/info",
"login": "sh scripts/login.sh",
"dev": "sh scripts/dev.sh",
"storybook": "cd nuxt && yarn storybook --port 3030",
"docs:fetch": "sh scripts/docs-fetch.sh",
"docs:generate": "sh scripts/docs-generate.sh",
"hooks:install": "git config core.hooksPath .githooks",
"lint": "npm run lint:js && npm run lint:format && npm run lint:md && npm run lint:cspell && npm run lint:private && npm run lint:attribution && npm run lint:knip",
"lint:attribution": "bash .gitlab/scripts/check-attribution.sh",
"lint:audit": "npm audit --omit=dev --audit-level=high && npm run lint:audit:nuxt",
"lint:audit:nuxt": "sh scripts/audit-nuxt.sh",
"lint:commit": "commitlint",
"lint:cspell": "cspell lint --no-progress --no-must-find-files --gitignore --dot \"**/*.{js,mjs,cjs,json,jsonc,md,yml,yaml,sh}\"",
"lint:format": "prettier --check \"**/*.{js,mjs,cjs,json,jsonc,md,yml,yaml}\"",
"lint:format:fix": "prettier --write \"**/*.{js,mjs,cjs,json,jsonc,md,yml,yaml}\"",
"lint:js": "eslint --ext .js,.mjs,.cjs .",
"lint:knip": "knip --include dependencies,unlisted --no-config-hints",
"lint:md": "markdownlint-cli2 \"**/*.md\"",
"lint:private": "node scripts/lint-private-refs.mjs",
"lint:prose": "PROSE_LINT_GLOB='!nuxt/**' bash .gitlab/scripts/lint-prose.sh --all",
"lint:prose:install": "bash .gitlab/scripts/install-vale.sh .vale/bin .vale/styles",
"prepare": "node scripts/prepare.mjs",
"test": "node -e \"const[a,b]=process.versions.node.split('.').map(Number);if(a<20||(a===20&&b<19)||a===21||(a===22&&b<7)){console.error('npm test needs Node >= 20.19 or >= 22.7, which import the ES modules in nuxt/utils/ without a type field.');process.exit(1)}\" && node --test tests/*.test.mjs",
"test:coverage": "node -e \"const[a,b]=process.versions.node.split('.').map(Number);if(a<22||(a===22&&b<8)){console.error('test:coverage needs Node >= 22.8 for --experimental-test-coverage; use npm test on Node >= 20.19.');process.exit(1)}\" && mkdir -p reports && node --test --experimental-test-coverage --test-coverage-include=\"scripts/**\" --test-coverage-lines=88 --test-coverage-branches=87 --test-coverage-functions=87 --test-reporter=spec --test-reporter-destination=stdout --test-reporter=junit --test-reporter-destination=reports/junit.xml tests/*.test.mjs"
},
"devDependencies": {
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"cspell": "7.3.9",
"eslint": "8.28.0",
"eslint-config-prettier": "8.10.0",
"github-slugger": "1.5.0",
"knip": "2.43.0",
"markdownlint-cli2": "0.10.0",
"prettier": "3.3.3"
},
"dependencies": {
"@druxt-contrib/anchors": "file:nuxt/vendor/druxt-anchors",
"@druxt-contrib/diff": "file:nuxt/vendor/druxt-diff"
}
}