Skip to content

Instantly share code, notes, and snippets.

@kuccello
Created January 24, 2022 22:30
Show Gist options
  • Save kuccello/b126031f3ac73c08a7c56422d09a627b to your computer and use it in GitHub Desktop.
Save kuccello/b126031f3ac73c08a7c56422d09a627b to your computer and use it in GitHub Desktop.
{
"root": "apps/ksexample",
"sourceRoot": "apps/ksexample",
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/next:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"root": "apps/ksexample",
"outputPath": "dist/apps/ksexample"
},
"configurations": {
"production": {}
}
},
"keystone":{
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{"command":"npm run postinstall"},
{"command": "npm run dev"}
],
"cwd": "apps/ksexample",
"parallel": false
}
},
"devserve": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "cd apps/ksexample && npm run dev"
}
]
}
},
"serve": {
"executor": "@nrwl/next:server",
"options": {
"buildTarget": "ksexample:build",
"dev": true,
"port": 4300
},
"configurations": {
"production": {
"buildTarget": "ksexample:build:production",
"dev": false
}
}
},
"export": {
"executor": "@nrwl/next:export",
"options": {
"buildTarget": "ksexample:build:production"
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/ksexample"],
"options": {
"jestConfig": "apps/ksexample/jest.config.js",
"passWithNoTests": true
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/ksexample/**/*.{ts,tsx,js,jsx}"]
}
}
},
"tags": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment