| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- {
- "name": "editor",
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
- "sourceRoot": "libs/editor/src",
- "projectType": "library",
- "tags": [],
- "targets": {
- "build": {
- "executor": "@nx/webpack:webpack",
- "defaultConfiguration": "production",
- "options": {
- "compiler": "babel",
- "webpackConfig": "webpack.config.js",
- "index": "libs/editor/public/index.html",
- "tsConfig": "libs/editor/tsconfig.lib.json",
- "main": "libs/editor/src/standalone.js",
- "outputPath": "dist/libs/editor",
- "isolatedConfig": true,
- "generatePackageJson": true,
- "assets": [
- {
- "glob": "public",
- "input": "libs/editor",
- "output": "public/"
- }
- ]
- },
- "configurations": {
- "development": {
- "extractLicenses": false,
- "optimization": false,
- "sourceMap": true,
- "vendorChunk": true
- },
- "production": {
- "optimization": true,
- "sourceMap": false,
- "namedChunks": false,
- "extractLicenses": true,
- "vendorChunk": false
- }
- }
- },
- "serve": {
- "executor": "@nx/webpack:dev-server",
- "defaultConfiguration": "development",
- "options": {
- "port": 3000,
- "buildTarget": "editor:build",
- "hmr": true,
- "watch": true,
- "liveReload": true
- },
- "configurations": {
- "development": {
- "buildTarget": "editor:build"
- }
- }
- },
- "unit": {
- "executor": "@nx/jest:jest",
- "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
- "options": {
- "jestConfig": "libs/editor/jest.config.js",
- "passWithNoTests": true
- },
- "configurations": {
- "ci": {
- "ci": true,
- "codeCoverage": true
- }
- }
- },
- "integration": {
- "executor": "@nx/cypress:cypress",
- "options": {
- "cypressConfig": "libs/editor/cypress.config.ts",
- "testingType": "e2e",
- "baseUrl": "http://localhost:3000"
- }
- },
- "version": {
- "executor": "nx:run-commands",
- "options": {
- "cwd": "libs/editor",
- "command": "node ../../tools/version/version.mjs"
- }
- },
- "docs": {
- "executor": "nx:run-commands",
- "options": {
- "cwd": "libs/editor",
- "command": "node scripts/create-docs.js ../../../docs/source/includes/tags"
- }
- },
- "extract-antd-no-reset": {
- "executor": "nx:run-commands",
- "options": {
- "command": "node ../../tools/extract-antd-no-reset/extract-antd-no-reset.mjs",
- "cwd": "libs/editor"
- }
- }
- }
- }
|