diff --git a/libs/importer/package.json b/libs/importer/package.json index eb2588b6340..2c85c78cb66 100644 --- a/libs/importer/package.json +++ b/libs/importer/package.json @@ -13,6 +13,7 @@ }, "license": "GPL-3.0", "scripts": { + "test": "jest", "clean": "rimraf dist", "build": "npm run clean && tsc", "build:watch": "npm run clean && tsc -watch" diff --git a/libs/importer/project.json b/libs/importer/project.json new file mode 100644 index 00000000000..28be8403369 --- /dev/null +++ b/libs/importer/project.json @@ -0,0 +1,41 @@ +{ + "name": "@bitwarden/importer", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/importer/src", + "projectType": "library", + "tags": ["scope:importer", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "build:watch": { + "executor": "nx:run-script", + "options": { + "script": "build:watch" + } + }, + "clean": { + "executor": "nx:run-script", + "options": { + "script": "clean" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/importer/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +}