Commit 540da2bb authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Prepared for standalone building.

No related merge requests found
Showing with 14085 additions and 24 deletions
+14085 -24
.gitignore 0 → 100644
/node_modules/
/dist/
angular.json 0 → 100644
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": ".",
"projects": {
"ngx-errors": {
"root": "",
"sourceRoot": "src",
"projectType": "library",
"cli": {
"packageManager": "npm"
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist",
"aot": true,
"index": "src/index.html",
"main": "src/src.ts",
"tsConfig": "./tsconfig.lib.json"
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ngx-errors:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
"tsConfig": "./tsconfig.spec.json"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"./tsconfig.lib.json",
"./tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "default"
}
package-lock.json 0 → 100644
+ 13923
0
View file @ 540da2bb
This diff is collapsed.
{ {
"name": "@devatscience/errors", "name": "@devatscience/errors",
"version": "0.1.0", "version": "0.1.0",
"keywords": [
"error handling",
"angular",
"ngx"
],
"license": "LGPL-3.0-or-later",
"author": "Guillaume Perréal",
"contributors": [
"Harold Boissenin"
],
"repository": {
"type": "git",
"url": "https://gitlab.irstea.fr/pole-is/packages/errors.git"
},
"scripts": {
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"package": "ng-packagr"
},
"peerDependencies": { "peerDependencies": {
"@angular/common": "^8.2.0", "@angular/common": "^8.2.0",
"@angular/core": "^8.2.0", "@angular/core": "^8.2.0",
...@@ -8,5 +28,39 @@ ...@@ -8,5 +28,39 @@
"@angular/router": "^8.2.0", "@angular/router": "^8.2.0",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"primeng": "^8.0.2" "primeng": "^8.0.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.803.4",
"@angular/cli": "^8.2.0",
"@angular/common": "^8.2.0",
"@angular/compiler": "^8.2.0",
"@angular/compiler-cli": "^8.2.0",
"@angular/core": "^8.2.0",
"@angular/forms": "^8.2.0",
"@angular/platform-browser": "^8.2.0",
"@angular/platform-browser-dynamic": "^8.2.0",
"@angular/router": "^8.2.0",
"@types/jasmine": "^3.4.0",
"codelyzer": "^5.1.0",
"irstea-typescript-config": "^1.0.6",
"jasmine": "^3.4.0",
"karma": "^4.3.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^2.1.0",
"karma-jasmine": "^2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"lodash": "^4.17.15",
"ng-packagr": "^5.5.1",
"prettier": "^1.15.0",
"prettier-tslint": "^0.4.2",
"primeng": "^8.0.2",
"rxjs-tslint-rules": "^4.10.0",
"tslint": "^5.20.0",
"tslint-config-prettier": "^1.15.0",
"tslint-defocus": "^2.0.0",
"tslint-plugin-prettier": "^2.0.1",
"tsutils": "^3.0.0",
"typescript": "^3.5.3",
"zone.js": "^0.9.1"
} }
} }
{
"compilerOptions": {
"outDir": "out-tsc/lib",
"target": "es2015",
"declaration": true,
"sourceMap": true,
"inlineSources": false,
"experimentalDecorators": true,
"typeRoots": [
"node_modules/@types"
],
"moduleResolution": "node",
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true,
"enableResourceInlining": true
}
}
{ {
"extends": "./tsconfig.common.json",
"compilerOptions": { "compilerOptions": {
"outDir": "out-tsc/lib", "outDir": "out-tsc/lib",
"target": "es2015",
"declaration": true,
"sourceMap": true,
"inlineSources": false,
"types": [],
"lib": [ "lib": [
"dom", "dom",
"es2018" "es2018"
] ]
}, },
"angularCompilerOptions": { "files": [
"annotateForClosureCompiler": true, "src/src.ts"
"skipTemplateCodegen": true, ],
"strictMetadataEmit": true,
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true,
"enableResourceInlining": true
},
"exclude": [ "exclude": [
"src/test.ts", "src/test.ts",
"**/*.spec.ts" "**/*.spec.ts"
......
{ {
"extends": "./tsconfig.common.json",
"compilerOptions": { "compilerOptions": {
"outDir": "out-tsc/spec", "outDir": "out-tsc/spec",
"types": [ "types": [
......
{ {
"extends": [
"irstea-typescript-config"
],
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": { "rules": {
"directive-selector": [ "rxjs-prefer-async-pipe": false
true, },
"attribute", "linterOptions": {
"lib", "exclude": [
"camelCase" "node_modules/**",
], "dist/**",
"component-selector": [ "coverage/**"
true,
"element",
"lib",
"kebab-case"
] ]
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment