forked from modernweb-dev/web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
138 lines (138 loc) · 4.8 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
{
"name": "@web/root",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/modernweb-dev/web.git"
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"build": "rimraf --glob packages/*/tsconfig.tsbuildinfo && tsc --build",
"build:production": "node scripts/workspaces-scripts-bin.mjs build:production",
"build:site": "yarn build && rocket build",
"build:watch": "rimraf --glob packages/*/tsconfig.tsbuildinfo && 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_PRODUCT=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 && yarn install && yarn build",
"release": "changeset publish && yarn format",
"release:enter-pre": "[ ! -f .changeset/pre.json ] && yarn 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": "yarn test:node && yarn test:browser && node scripts/workspaces-scripts-bin.mjs test:ci",
"test:browser": "node packages/test-runner/dist/bin.js \"packages/*/test-browser/**/*.test.{js,ts}\"",
"test:node": "mocha \"packages/!(*test-runner-selenium|*test-runner-webdriver)/test/**/*.test.{ts,js,mjs,cjs}\"",
"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 && yarn format",
"update:tsconfigs": "node scripts/generate-ts-configs.mjs && yarn 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.0.1",
"@rollup/plugin-terser": "^0.4.1",
"@rollup/plugin-typescript": "^11.0.0",
"@types/chai": "^4.2.22",
"@types/mocha": "^10.0.1",
"@types/node": "*",
"@types/node-fetch": "^2.5.8",
"@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": "^3.15.0",
"ts-node": "^10.4.0",
"typescript": "~5.0.4"
},
"resolutions": {
"@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"
},
"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
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"printWidth": 100,
"trailingComma": "all"
},
"workspaces": [
"packages/*",
"integration/*"
]
}