generated from nl-design-system/example
/
package.json
92 lines (92 loc) · 4.19 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
87
88
89
90
91
92
{
"version": "0.0.1",
"author": "Community for NL Design System",
"description": "Template for design systems based on the NL Design System architecture",
"license": "EUPL-1.2",
"name": "@utrecht/design-system",
"keywords": [
"nl-design-system"
],
"private": true,
"workspaces": [
"./documentation/",
"./components/",
"./components/*",
"./packages/*",
"./proprietary/*"
],
"repository": {
"type": "git+ssh",
"url": "git@github.com:nl-design-system/utrecht.git"
},
"engines": {
"node": "^16.13.0",
"npm": "^8"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "5.10.2",
"@typescript-eslint/parser": "5.10.2",
"eslint": "8.8.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-mdx": "1.16.0",
"eslint-plugin-react": "7.28.0",
"html-validate": "6.3.2",
"husky": "7.0.4",
"lerna": "4.0.0",
"lint-staged": "12.3.4",
"markdownlint-cli": "0.31.1",
"npm-check-updates": "12.2.1",
"npm-package-json-lint": "5.4.2",
"npm-run-all": "4.1.5",
"patch-package": "6.4.7",
"postcss": "8.4.7",
"prettier": "2.5.1",
"rimraf": "3.0.2",
"stylelint": "14.3.0",
"stylelint-config-prettier": "9.0.3",
"stylelint-config-standard-scss": "3.0.0",
"stylelint-order": "5.0.0"
},
"scripts": {
"prebuild": "rimraf dist/",
"build": "lerna run build && npm run build:docs",
"build:docs": "npm run predocs && (cd standalone/docusaurus && npm run build)",
"clean": "lerna run clean && rimraf dist/ && (cd standalone/docusaurus && npm run clean)",
"predocs": "npm run --workspace proprietary/design-tokens build",
"docs": "(cd standalone/docusaurus && npm run start)",
"postinstall": "patch-package --patch-dir .patches && (cd standalone/docusaurus && npm install)",
"lint": "npm-run-all --continue-on-error lint:** lint-workspaces",
"lint:css": "stylelint '**/*.{css,scss}'",
"lint:js": "eslint --ext '.js,.json,.jsx,.mdx,.ts,.tsx' --report-unused-disable-directives .",
"lint:html": "find . -type d \\( -name coverage -or -name dist -or -name node_modules -or -name build -or -name .docusaurus \\) -prune -false -o -name '*.html' -print0 | xargs -0 npx html-validate",
"lint:md": "markdownlint '**/*.md'",
"lint:package-json": "npmPkgJsonLint '**/package.json'",
"lint:package-lock": "npm ls",
"lint:prettier": "prettier --check .",
"lint-fix": "npm-run-all --continue-on-error lint-fix:** prettier",
"lint-fix:css": "stylelint --fix '**/*.{css,scss}'",
"lint-fix:js": "eslint --ext '.js,.json,.jsx,.mdx,.ts,.tsx' --fix --report-unused-disable-directives .",
"lint-fix:md": "markdownlint --fix '**/*.md'",
"lint-workspaces": "lerna run --no-bail lint",
"prepare": "husky install",
"prettier": "prettier --write .",
"serve": "npm-run-all --parallel serve:**",
"serve:docs": "(cd standalone/docusaurus && npm run serve)",
"serve:storybook": "npm run --workspace packages/storybook start",
"storybook": "npm-run-all --parallel watch:**",
"test": "npm run test-workspaces",
"test-workspaces": "lerna run --no-bail test",
"watch:stencil": "lerna run watch:stencil",
"prewatch:storybook": "lerna run build:style-dictionary && lerna run build:stencil",
"publish": "lerna publish from-package",
"release": "lerna version prerelease --no-changelog --no-private",
"update-patch": "npm-check-updates --configFileName .ncurc.patch.js --deep --dep dev,prod --target patch --upgrade && npm install --legacy-peer-deps",
"update-minor": "npm-check-updates --configFileName .ncurc.minor.js --deep --dep dev,prod --target minor --upgrade && npm install --legacy-peer-deps && npm install --workspace packages/web-component-library-angular --save-dev @angular-devkit/build-angular@v11-lts",
"update-major": "npm-check-updates --configFileName .ncurc.major.js --deep --dep dev,prod --target latest --upgrade && npm install --legacy-peer-deps",
"test-update": "npm-run-all --sequential lint build test",
"watch:storybook": "npm run --workspace packages/storybook storybook",
"watch:style-dictionary": "lerna run watch:style-dictionary"
}
}