-
-
Notifications
You must be signed in to change notification settings - Fork 297
/
package.json
149 lines (149 loc) · 5.01 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
141
142
143
144
145
146
147
148
149
{
"name": "@web/root",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/modernweb-dev/web.git"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "npm run build:clean && tsc --build",
"build:clean": "rimraf --glob packages/*/tsconfig.tsbuildinfo && rimraf --glob packages/*/dist",
"build:production": "node scripts/workspaces-scripts-bin.mjs build:production",
"build:site": "npm run build && rocket build",
"build:watch": "npm run build:clean && tsc --build --watch",
"dev-to-git": "dev-to-git",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .ts,.js,.mjs,.cjs . --fix",
"format:prettier": "node node_modules/prettier/bin-prettier.js \"**/*.{ts,js,mjs,cjs,md}\" \"**/package.json\" --write --ignore-path .eslintignore",
"install-puppeteer-firefox": "cd node_modules/puppeteer && PUPPETEER_BROWSER=firefox node install.js",
"lint": "npm run lint:eslint && npm run lint:prettier",
"lint:eslint": "eslint --ext .ts,.js,.mjs,.cjs .",
"lint:prettier": "node node_modules/prettier/bin-prettier.js \"**/*.{ts,js,mjs,cjs,md}\" --check --ignore-path .eslintignore",
"prepare": "husky install",
"reinstall-workspace": "rimraf --glob packages/*/node_modules && rimraf node_modules && npm run install && npm run build",
"release": "changeset publish && npm run format",
"release:enter-pre": "[ ! -f .changeset/pre.json ] && npx changeset pre enter next || echo 'Already in pre mode'",
"review-content": "alex 'docs/**/*.md'",
"search": "rocket search",
"start": "rocket start",
"start:build": "node packages/dev-server/dist/bin.js --root-dir _site --open",
"test": "npm run test:node && npm run test:browser && npm run test:storybook-builder",
"test:browser": "npm run test:browser --workspaces --if-present",
"test:node": "npm run test:node --workspaces --if-present",
"test:storybook-builder": "npm test --prefix ./packages/storybook-framework-web-components",
"types": "wireit",
"update": "npm run update:mjs-dts-entrypoints && npm run update:tsconfigs",
"update-dependency": "node scripts/update-dependency.js",
"update:mjs-dts-entrypoints": "node scripts/generate-mjs-dts-entrypoints.mjs && npm run format",
"update:tsconfigs": "node scripts/generate-ts-configs.mjs && npm run format"
},
"dependencies": {
"@rocket/blog": "^0.4.0",
"@rocket/cli": "^0.10.1",
"@rocket/core": "^0.1.2",
"@rocket/launch": "^0.6.0",
"@rocket/search": "^0.6.0"
},
"devDependencies": {
"@changesets/cli": "^2.16.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@types/chai": "^4.2.22",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.1",
"@types/node": "*",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.59.1",
"alex": "^11.0.0",
"chai": "^4.3.4",
"concurrently": "^8.0.1",
"deepmerge": "^4.2.2",
"dev-to-git": "^1.4.1",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"hanbi": "^1.0.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"mocha": "^10.2.0",
"nanocolors": "^0.2.1",
"prettier": "^2.4.1",
"prettier-plugin-package": "^1.3.0",
"rimraf": "^4.4.1",
"rollup": "^4.4.0",
"ts-node": "^10.4.0",
"typescript": "~5.0.4",
"wireit": "^0.10.0"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"eslint-config-prettier",
"plugin:@typescript-eslint/recommended"
],
"env": {
"browser": true,
"node": true,
"mocha": true,
"es2020": true
},
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-comment": "off"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write --ignore-path .eslintignore"
],
"*.md": [
"prettier --write --ignore-path .eslintignore"
]
},
"mocha": {
"loader": "ts-node/esm",
"exit": true,
"retries": 3
},
"overrides": {
"@lion/accordion": "^0.11.1",
"@lion/combobox": "^0.11.1",
"@lion/core": "^0.24.0",
"@lion/form-core": "^0.18.3",
"@lion/overlays": "^0.33.2",
"@mdjs/core": "^0.9.0",
"@mdjs/mdjs-preview": "^0.5.5",
"@rocket/drawer": "^0.1.4"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"printWidth": 100,
"trailingComma": "all"
},
"wireit": {
"types": {
"dependencies": [
"./packages/mocks:types"
]
}
},
"workspaces": [
"packages/*",
"integration/*"
]
}