Page History
Navitabs | ||||
---|---|---|---|---|
| ||||
Introduktion
Formål
Vejledning til installation af NAP SDK i et anvender projekt.
Package.Json
Da NAP SDK er et udviklingsværktøj egnet til udviklere, skal denne installeres i projektet med en package manager fra https://nexus.nspop.dk/nexus/repository/nsp-npm/. Et Angular eksempel på package.json kunne se således ud:
Code Block | ||||
---|---|---|---|---|
| ||||
{
"name": "MyAwesomeNapWepApp",
"version": "1.0.0-rc.2",
"scripts": {
"doc": "typedoc --options ./typedoc.json",
"start": "ng serve --port 4200",
"build": "ng build",
"lint": "eslint \"**/*.ts\"",
"e2e": "ng e2e"
},
"license": "MIT",
"private": false,
"dependencies": {
"@angular/animations": "~9.1.7",
"@angular/common": "~9.1.7",
"@angular/compiler": "~9.1.7",
"@angular/core": "~9.1.7",
"@angular/forms": "~9.1.7",
"@angular/platform-browser": "~9.1.7",
"@angular/platform-browser-dynamic": "~9.1.7",
"@angular/router": "~9.1.7",
"nap-angular-sdk": "1.0.0",
"nap-typescript-sdk": "1.0.0",
"rxjs": "^6.5.5",
"tslib": "^1.13.0",
"zone.js": "~0.10.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.901.6",
"@angular/cli": "~9.1.6",
"@angular/compiler-cli": "~9.1.7",
"@angular/language-service": "~9.1.7",
"@types/jasmine": "~3.5.10",
"@types/jasminewd2": "~2.0.8",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"eslint": "^6.8.0",
"eslint-plugin-angular": "^4.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"ts-node": "~8.10.1",
"typescript": "~3.8.3"
}
}
|
...