-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
140 lines (140 loc) · 4.75 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "bolt",
"version": "0.0.0-development",
"private": true,
"description": "Bolt Design System",
"keywords": [
"bolt",
"bolt design system",
"design system",
"pattern lab",
"web components"
],
"homepage": "https://github.com/boltdesignsystem/bolt#readme",
"bugs": {
"url": "https://github.com/boltdesignsystem/bolt/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/boltdesignsystem/bolt.git"
},
"license": "MIT",
"author": "Salem Ghoweri",
"workspaces": {
"packages": [
"docs-site",
"docs-site/src/components/banner",
"docs-site/src/components/theme-switcher",
"docs-site/src/components/radio-switch",
"packages/*",
"packages/*/*",
"packages/build-tools/__tests__/*",
"packages/build-tools/plugins/*",
"scripts"
],
"nohoist": [
"lazysizes",
"**/lazysizes"
]
},
"scripts": {
"build": "cd docs-site && yarn run build:prod",
"cc": "yarn create:component",
"ce": "yarn create:element",
"clean": "npx npm-run-all --parallel clean:*",
"clean:cache": "find . -name 'cache' -type d -exec rm -rf {} +",
"clean:composer": "find . -name 'vendor' -type d -exec rm -rf {} +",
"clean:empty": "find . -empty -type d -delete",
"clean:npm": "find . -name 'node_modules' -type d -exec rm -rf {} +",
"clean:www": "find . -name 'www' -type d -exec rm -rf {} +",
"create:component": "plop component --plopfile ./packages/generators/bolt-generator/plopfile.js",
"create:element": "plop element --plopfile ./packages/generators/bolt-generator/plopfile.js",
"deploy": "./scripts/deploy.js",
"fix": "yarn lint:js --fix; yarn lint:scss --fix",
"gds": "github-deploy-status -u boltdesignsystem -p bolt --token ${GITHUB_TOKEN}",
"postinstall": "patch-package && npx lerna run postbootstrap",
"jest": "jest --maxWorkers=3 --all --colors",
"lint": "npm-run-all --parallel lint:*",
"lint:js": "eslint '**/*.js'",
"lint:scss": "stylelint '**/*.scss' --config .stylelintrc",
"release": "node ./auto-release.js",
"serve": "node packages/servers/default-server",
"setup": "yarn && yarn run setup:php",
"setup:full": "yarn --force && yarn run setup:php",
"setup:php": "npx lerna exec --parallel --scope @bolt/twig-renderer --scope @bolt/drupal-twig-extensions --scope @bolt/core-php --scope @bolt/website -- composer install --prefer-dist",
"setup:quick": "yarn && yarn run setup:php",
"start": "cd docs-site && yarn run start",
"start:compat": "cd docs-site && yarn run start:compat",
"test": "npm-run-all --parallel --aggregate-output test:js test:php test:monorepo test:build-tools",
"test:build-tools": "cd packages/build-tools && yarn run test",
"pretest:js": "npm run setup:php",
"test:js": "NODE_ENV='test' jest --all --colors 'packages|scripts' --passWithNoTests ",
"test:js:quick": "NODE_ENV='test' jest --colors \"$(bolt-list-pkg-paths-changed)\" --passWithNoTests",
"test:js:update": "yarn run test:js -u",
"test:monorepo": "jest ./__tests__/monorepo -c jest.config.quick.js --noStackTrace",
"test:php": "cd packages/twig-integration/twig-extensions-shared && composer run test",
"test:pkgs": "npx lerna run test --ignore=@bolt/uikit-* --ignore=@bolt/build-tools--* --stream",
"test:types": "tsc"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "jest ./__tests__/monorepo-basics.test.js -c jest.config.quick.js --noStackTrace"
}
},
"lint-staged": {
"*.js": [
"eslint"
],
"*.scss": [
"stylelint --config .stylelintrc"
],
"package.json": [
"sort-package-json",
"git add"
]
},
"browserslist": [
"extends @bolt/browserslist-config"
],
"dependencies": {
"@auto-it/npm": "^8.7.3",
"@auto-it/omit-commits": "^8.7.3",
"@auto-it/released": "^8.7.3",
"@bolt/testing-utils": "^5.0.0",
"@open-wc/testing-helpers": "^1.0.10",
"@slack/webhook": "^5.0.2",
"auto": "^8.7.3",
"chalk": "^3.0.0",
"ci-utils": "^0.6.0",
"conf": "^5.0.0",
"eslint": "^6.0.1",
"eslint-plugin-prettier": "^3.1.0",
"find-pkg": "^2.0.0",
"fs-extra": "^8.1.0",
"github-deploy-status": "^1.4.1",
"globby": "^10.0.1",
"husky": "3.1.0",
"jest": "^24.8.0",
"jsonwebtoken": "^8.5.1",
"lerna": "^4.0.0",
"lint-staged": "^9.5.0",
"lit-element": "^2.2.0",
"lit-html": "^1.1.1",
"npm-run-all": "^4.1.5",
"patch-package": "^6.1.2",
"semver": "^7.1.1",
"shelljs": "^0.8.4",
"sort-package-json": "^1.31.0",
"typescript": "^3.5.3"
},
"devDependencies": {
"stylelint": "^14.8.2"
},
"optionalDependencies": {
"prettier": ">= 1.13.0"
},
"publishConfig": {
"access": "public"
}
}