зеркало из https://github.com/mozilla/fxa.git
84 строки
2.2 KiB
JSON
84 строки
2.2 KiB
JSON
|
{
|
||
|
"name": "payments-next",
|
||
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||
|
"sourceRoot": "apps/payments/next",
|
||
|
"projectType": "application",
|
||
|
"targets": {
|
||
|
"build": {
|
||
|
"executor": "@nx/next:build",
|
||
|
"outputs": ["{options.outputPath}"],
|
||
|
"defaultConfiguration": "production",
|
||
|
"options": {
|
||
|
"outputPath": "dist/apps/payments/next",
|
||
|
"postcssConfig": "apps/payments/next/postcss.config.js"
|
||
|
},
|
||
|
"configurations": {
|
||
|
"development": {
|
||
|
"outputPath": "apps/payments/next"
|
||
|
},
|
||
|
"production": {}
|
||
|
}
|
||
|
},
|
||
|
"serve": {
|
||
|
"executor": "@nx/next:server",
|
||
|
"defaultConfiguration": "development",
|
||
|
"options": {
|
||
|
"buildTarget": "payments-next:build",
|
||
|
"dev": true,
|
||
|
"port": 3035,
|
||
|
"postcssConfig": "apps/payments/next/postcss.config.js"
|
||
|
},
|
||
|
"configurations": {
|
||
|
"development": {
|
||
|
"buildTarget": "payments-next:build:development",
|
||
|
"dev": true
|
||
|
},
|
||
|
"production": {
|
||
|
"buildTarget": "payments-next:build:production",
|
||
|
"dev": false
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"export": {
|
||
|
"executor": "@nx/next:export",
|
||
|
"options": {
|
||
|
"buildTarget": "payments-next:build:production"
|
||
|
}
|
||
|
},
|
||
|
"test": {
|
||
|
"executor": "@nx/jest:jest",
|
||
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||
|
"options": {
|
||
|
"jestConfig": "apps/payments/next/jest.config.ts",
|
||
|
"passWithNoTests": true
|
||
|
},
|
||
|
"configurations": {
|
||
|
"ci": {
|
||
|
"ci": true,
|
||
|
"codeCoverage": true
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"lint": {
|
||
|
"executor": "@nx/linter:eslint",
|
||
|
"outputs": ["{options.outputFile}"],
|
||
|
"options": {
|
||
|
"lintFilePatterns": ["apps/payments/next/**/*.{ts,tsx,js,jsx}"]
|
||
|
}
|
||
|
},
|
||
|
"start": {
|
||
|
"command": "pm2 start apps/payments/next/pm2.config.js"
|
||
|
},
|
||
|
"stop": {
|
||
|
"command": "pm2 stop apps/payments/next/pm2.config.js"
|
||
|
},
|
||
|
"restart": {
|
||
|
"command": "pm2 restart apps/payments/next/pm2.config.js"
|
||
|
},
|
||
|
"delete": {
|
||
|
"command": "pm2 delete apps/payments/next/pm2.config.js"
|
||
|
}
|
||
|
},
|
||
|
"tags": []
|
||
|
}
|