You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

115 lines
3.3 KiB

{
"name": "nps-exports-view",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"lint": "ng lint",
"test": "ng lint --fix && jest --coverage",
"test:watch": "jest --watch",
"test:dev": "jest src/app/pages/login/login.component.spec.ts --coverage",
"start:mock": "ng serve --c=mock"
},
"private": true,
"dependencies": {
"@angular/animations": "^12.0.5",
"@angular/cdk": "^13.0.2",
"@angular/common": "~12.0.5",
"@angular/compiler": "~12.0.5",
"@angular/core": "~12.0.5",
"@angular/forms": "~12.0.5",
"@angular/platform-browser": "~12.0.5",
"@angular/platform-browser-dynamic": "~12.0.5",
"@angular/router": "~12.0.5",
"bootstrap": "^5.0.2",
"chart.js": "3.4.1",
"cordova": "^10.0.0",
"install": "^0.13.0",
"npm": "^7.20.0",
"primeicons": "^5.0.0",
"primeng": "^13.0.0",
"rxjs": "~6.6.0",
"ts-jest": "^27.0.4",
"tslib": "^2.1.0",
"xlsx": "^0.17.4",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~12.0.5",
"@angular-eslint/builder": "12.2.0",
"@angular-eslint/eslint-plugin": "12.2.0",
"@angular-eslint/eslint-plugin-template": "12.2.0",
"@angular-eslint/schematics": "12.2.0",
"@angular-eslint/template-parser": "12.2.0",
"@angular/cli": "~12.0.5",
"@angular/compiler-cli": "~12.0.5",
"@types/jasmine": "~3.6.0",
"@types/jest": "^26.0.24",
"@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "4.23.0",
"@typescript-eslint/parser": "4.23.0",
"eslint": "^7.26.0",
"jasmine-core": "~3.7.0",
"jasmine-spec-reporter": "^7.0.0",
"jest": "^27.0.6",
"jest-preset-angular": "^9.0.4",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"typescript": "~4.2.3"
},
"jest": {
"preset": "jest-preset-angular",
"roots": [
"src"
],
"collectCoverageFrom": [
"**/*.ts",
"!**/*.module.ts",
"!src/*.ts",
"!src/environments/*.ts",
"!**/node_modules/**"
],
"testPathIgnorePatterns": [
"!src/constants*.ts"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"transform": {
"^.+\\.(ts|js|html)$": "ts-jest"
},
"setupFilesAfterEnv": [
"<rootDir>/src/setup-jest.ts"
],
"moduleNameMapper": {
"@app/(.*)": "<rootDir>/src/app/$1",
"@shared/(.*)": "<rootDir>/src/app/shared/$1",
"@constants/(.*)": "<rootDir>/src/constants/$1",
"@assets/(.*)": "<rootDir>/src/assets/$1",
"@core/(.*)": "<rootDir>/src/app/core/$1",
"@actions/(.*)": "<rootDir>/src/app/actions/$1",
"@env/(.*)": "<rootDir>/src/environments/$1",
"@src/(.*)": "<rootDir>/src/src/$1",
"@state/(.*)": "<rootDir>/src/app/state/$1"
},
"globals": {
"ts-jest": {
"tsConfig": "<rootDir>/tsconfig.spec.json",
"stringifyContentPathRegex": "\\.html$",
"astTransformers": [
"jest-preset-angular/InlineHtmlStripStylesTransformer.js"
]
}
}
}
}