forked from modernweb-dev/web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 4.47 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
{
"name": "@web/root",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/modernweb-dev/web.git"
},
"scripts": {
"build": "rimraf packages/*/tsconfig.tsbuildinfo && tsc --build",
"build:production": "node scripts/workspaces-scripts-bin.mjs build:production",
"build:site": "yarn build && rocket build",
"build:watch": "rimraf 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",
"generate-mjs-dts-entrypoints": "node scripts/generate-mjs-dts-entrypoints.mjs && yarn format",
"generate-ts-configs": "node scripts/generate-ts-configs.mjs && yarn format",
"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:md": "remark ./docs",
"lint:prettier": "node node_modules/prettier/bin-prettier.js \"**/*.{ts,js,mjs,cjs,md}\" --check --ignore-path .eslintignore",
"reinstall-workspace": "rimraf packages/*/node_modules && rimraf node_modules && yarn install && yarn build",
"release": "changeset publish && yarn format",
"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/**/*.test.{ts,js,mjs,cjs}\" --require ts-node/register --exit --retries 3",
"update-dependency": "node scripts/update-dependency.js"
},
"dependencies": {
"@d4kmor/cli": "^0.8.0",
"@d4kmor/launch": "^0.7.0",
"@d4kmor/search": "^0.1.2"
},
"devDependencies": {
"@changesets/cli": "^2.12.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-typescript": "^6.1.0",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.0.01",
"@types/node": "^14.14.11",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"alex": "^9.1.0",
"chai": "^4.2.0",
"concurrently": "^5.3.0",
"deepmerge": "^4.2.2",
"dev-to-git": "^1.4.1",
"eslint": "^7.15.0",
"eslint-config-prettier": "^6.15.0",
"hanbi": "^0.4.1",
"husky": "^4.3.5",
"lint-staged": "^10.5.3",
"mocha": "^8.2.1",
"prettier": "^2.2.1",
"prettier-plugin-package": "^1.3.0",
"remark-cli": "^8.0.1",
"remark-lint": "^7.0.1",
"remark-preset-lint-recommended": "^4.0.1",
"remark-preset-prettier": "^0.4.0",
"remark-validate-links": "^10.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.34.2",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "^9.1.1",
"typescript": "4.1.2"
},
"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"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write --ignore-path .eslintignore"
],
"*.md": [
"prettier --write --ignore-path .eslintignore"
]
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"printWidth": 100,
"trailingComma": "all"
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-recommended",
"preset-prettier",
"remark-validate-links"
]
},
"workspaces": [
"packages/*",
"integration/*"
]
}