mirror of
https://github.com/zizifn/edgetunnel
synced 2024-11-22 18:07:07 +00:00
c2d655774f
add ws 0rtt to deno and nodejs
56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"npmScope": "edge-bypass",
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"runner": "nx/tasks-runners/default",
|
|
"options": {
|
|
"cacheableOperations": ["build", "lint", "test", "e2e"]
|
|
}
|
|
}
|
|
},
|
|
"targetDefaults": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["production", "^production"]
|
|
},
|
|
"test": {
|
|
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
|
|
},
|
|
"lint": {
|
|
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
|
|
}
|
|
},
|
|
"namedInputs": {
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
"production": [
|
|
"default",
|
|
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
"!{projectRoot}/tsconfig.spec.json",
|
|
"!{projectRoot}/jest.config.[jt]s",
|
|
"!{projectRoot}/.eslintrc.json"
|
|
],
|
|
"sharedGlobals": ["{workspaceRoot}/babel.config.json"]
|
|
},
|
|
"generators": {
|
|
"@nrwl/react": {
|
|
"application": {
|
|
"style": "css",
|
|
"linter": "eslint",
|
|
"bundler": "vite",
|
|
"babel": true
|
|
},
|
|
"component": {
|
|
"style": "css"
|
|
},
|
|
"library": {
|
|
"style": "css",
|
|
"linter": "eslint",
|
|
"unitTestRunner": "vitest"
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "cf-page",
|
|
"plugins": ["@nrwl/deno"]
|
|
}
|