mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 04:22:01 +00:00
152 lines
4.7 KiB
JSON
152 lines
4.7 KiB
JSON
{
|
|
"name": "vercel-monorepo",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"license": "Apache-2.0",
|
|
"packageManager": "pnpm@8.3.1",
|
|
"devDependencies": {
|
|
"@changesets/cli": "2.26.1",
|
|
"@svitejs/changesets-changelog-github-compact": "1.1.0",
|
|
"@types/node": "14.18.33",
|
|
"@typescript-eslint/eslint-plugin": "5.21.0",
|
|
"@typescript-eslint/parser": "5.21.0",
|
|
"@vercel/build-utils": "*",
|
|
"@vercel/style-guide": "4.0.2",
|
|
"async-retry": "1.2.3",
|
|
"buffer-replace": "1.0.0",
|
|
"create-svelte": "2.0.1",
|
|
"dot": "1.1.3",
|
|
"esbuild": "0.19.2",
|
|
"eslint": "8.24.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-plugin-jest": "26.1.5",
|
|
"execa": "3.2.0",
|
|
"fs-extra": "11.1.0",
|
|
"glob": "10.2.3",
|
|
"husky": "7.0.4",
|
|
"jest": "29.5.0",
|
|
"json5": "2.2.3",
|
|
"lint-staged": "9.2.5",
|
|
"node-fetch": "2.6.7",
|
|
"npm-package-arg": "6.1.0",
|
|
"prettier": "2.7.0",
|
|
"source-map-support": "0.5.12",
|
|
"ts-eager": "2.0.2",
|
|
"ts-jest": "29.1.0",
|
|
"turbo": "1.13.3",
|
|
"typescript": "4.9.5"
|
|
},
|
|
"scripts": {
|
|
"build": "node utils/gen.js && turbo --no-update-notifier run build",
|
|
"vercel-build": "pnpm build && pnpm run pack && cd api && node -r ts-eager/register ./_lib/script/build.ts",
|
|
"pre-commit": "lint-staged",
|
|
"test": "jest --rootDir=\"test\" --testPathPattern=\"\\.test.js\"",
|
|
"test-unit": "pnpm test && node utils/gen.js && turbo --no-update-notifier run test-unit",
|
|
"test-cli": "node utils/gen.js && turbo --no-update-notifier run test-cli",
|
|
"test-e2e": "node utils/gen.js && turbo --no-update-notifier run test-e2e",
|
|
"test-dev": "node utils/gen.js && turbo --no-update-notifier run test-dev",
|
|
"lint": "eslint . --cache --ext .ts,.js",
|
|
"prettier-check": "prettier --check .",
|
|
"prepare": "husky install",
|
|
"pack": "cd utils && node -r ts-eager/register ./pack.ts",
|
|
"ci:version": "changeset version && pnpm install --no-frozen-lockfile",
|
|
"ci:publish": "pnpm publish -r && node utils/update-canary-tags.mjs && changeset tag",
|
|
"type-check": "turbo type-check --concurrency=12 --output-logs=errors-only --summarize --continue"
|
|
},
|
|
"lint-staged": {
|
|
"./{*,{api,packages,test,utils}/**/*}.{js,ts}": [
|
|
"prettier --write",
|
|
"eslint",
|
|
"git add"
|
|
],
|
|
"*.{json,md}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "es5",
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module",
|
|
"modules": true
|
|
},
|
|
"plugins": [
|
|
"jest"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier"
|
|
],
|
|
"env": {
|
|
"node": true,
|
|
"jest": true,
|
|
"es6": true
|
|
},
|
|
"rules": {
|
|
"no-restricted-syntax": [
|
|
"warn",
|
|
"WithStatement",
|
|
{
|
|
"message": "substr() is deprecated, use slice() or substring() instead",
|
|
"selector": "MemberExpression > Identifier[name='substr']"
|
|
}
|
|
],
|
|
"no-dupe-keys": 2,
|
|
"require-atomic-updates": 0,
|
|
"@typescript-eslint/ban-ts-comment": 0,
|
|
"@typescript-eslint/camelcase": 0,
|
|
"@typescript-eslint/explicit-module-boundary-types": 0,
|
|
"@typescript-eslint/no-empty-function": 0,
|
|
"@typescript-eslint/no-explicit-any": 0,
|
|
"@typescript-eslint/no-non-null-assertion": 0,
|
|
"@typescript-eslint/no-unused-vars": 2,
|
|
"@typescript-eslint/no-use-before-define": 0,
|
|
"@typescript-eslint/no-var-requires": 0,
|
|
"jest/no-disabled-tests": 2,
|
|
"jest/no-focused-tests": 2
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"packages/cli/**/*"
|
|
],
|
|
"rules": {
|
|
"lines-between-class-members": 0,
|
|
"no-async-promise-executor": 0,
|
|
"no-control-regex": 0,
|
|
"no-empty": 0,
|
|
"prefer-const": 0,
|
|
"prefer-destructuring": 0,
|
|
"@typescript-eslint/ban-types": 0,
|
|
"@typescript-eslint/consistent-type-assertions": 0,
|
|
"@typescript-eslint/member-delimiter-style": 0,
|
|
"@typescript-eslint/no-empty-function": 0,
|
|
"@typescript-eslint/no-explicit-any": 0,
|
|
"@typescript-eslint/no-inferrable-types": 0,
|
|
"no-console": 2
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"packages/client/**/*"
|
|
],
|
|
"rules": {
|
|
"prefer-const": 0,
|
|
"require-atomic-updates": 0,
|
|
"@typescript-eslint/ban-ts-ignore": 0,
|
|
"@typescript-eslint/no-explicit-any": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|