2019-08-09 13:38:51 +02:00
|
|
|
{
|
2020-06-16 18:40:48 +02:00
|
|
|
"name": "framadate-funky-frontend",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"license": "AGPL-3.0-or-later",
|
|
|
|
"scripts": {
|
|
|
|
"ng": "ng",
|
|
|
|
"start": "ng serve",
|
|
|
|
"build:prod": "ng build --prod",
|
|
|
|
"build:prod:stats": "ng build --prod --stats-json",
|
|
|
|
"build:prod:gitlabpage": "ng build --prod --baseHref=/framadate/funky-framadate-front/",
|
2021-02-12 15:28:14 +01:00
|
|
|
"build:prod:demobliss": "ng build --prod --baseHref=https://framadate-api.cipherbliss.com --stats-json ",
|
2020-06-16 18:40:48 +02:00
|
|
|
"test": "jest",
|
|
|
|
"test:watch": "jest --watch",
|
|
|
|
"test:ci": "jest --ci",
|
|
|
|
"lint": "prettier --write \"src/**/*.{js,jsx,ts,tsx,md,html,css,scss}\"",
|
|
|
|
"e2e": "ng e2e",
|
|
|
|
"format:check": "prettier --list-different \"src/{app,environments,assets}/**/*{.ts,.js,.json,.css,.scss}\"",
|
|
|
|
"format:all": "prettier --write \"src/**/*.{js,jsx,ts,tsx,md,html,css,scss}\"",
|
|
|
|
"trans": "ng xi18n --output-path=src/locale --i18n-locale=fr",
|
|
|
|
"compodoc": "compodoc -p tsconfig.app.json",
|
|
|
|
"mock:server": "json-server --port 8000 --watch ./mocks/db.json --routes ./mocks/routes.json",
|
|
|
|
"start:proxy": "ng serve --proxy-config proxy.conf.json",
|
2020-11-05 14:05:05 +01:00
|
|
|
"start:proxymock": "concurrently --kill-others \"yarn mock:server\" \"yarn start:proxy\"",
|
2021-02-08 11:32:58 +01:00
|
|
|
"i18n:init": "ngx-translate-extract --input ./src --output ./src/assets/i18n/template.json --key-as-default-value --replace --format json",
|
|
|
|
"i18n:extract": "ngx-translate-extract --input ./src --output ./src/assets/i18n/{en,da,de,fi,nb,nl,sv}.json --clean --format json"
|
|
|
|
},
|
2020-06-16 18:40:48 +02:00
|
|
|
"private": false,
|
|
|
|
"dependencies": {
|
|
|
|
"@angular/animations": "^9.1.1",
|
|
|
|
"@angular/cdk": "^9.2.2",
|
|
|
|
"@angular/common": "^9.0.7",
|
|
|
|
"@angular/compiler": "^9.0.7",
|
|
|
|
"@angular/core": "^9.0.7",
|
|
|
|
"@angular/forms": "^9.0.7",
|
|
|
|
"@angular/localize": "^9.1.1",
|
|
|
|
"@angular/material": "^9.2.4",
|
|
|
|
"@angular/platform-browser": "^9.0.7",
|
|
|
|
"@angular/platform-browser-dynamic": "^9.0.7",
|
|
|
|
"@angular/router": "^9.0.7",
|
2020-11-05 14:05:05 +01:00
|
|
|
"@biesbjerg/ngx-translate-extract": "^7.0.3",
|
|
|
|
"@biesbjerg/ngx-translate-po-http-loader": "^3.1.0",
|
2020-06-16 18:40:48 +02:00
|
|
|
"@fullcalendar/core": "^4.4.0",
|
|
|
|
"@ngx-translate/core": "^12.1.2",
|
|
|
|
"@ngx-translate/http-loader": "^5.0.0",
|
|
|
|
"angular-date-value-accessor": "^1.0.2",
|
|
|
|
"axios": "^0.19.2",
|
|
|
|
"bulma": "^0.9.0",
|
|
|
|
"bulma-switch": "^2.0.0",
|
|
|
|
"chart.js": "^2.9.3",
|
2021-02-09 18:35:29 +01:00
|
|
|
"crypto": "^1.0.1",
|
2020-06-16 18:40:48 +02:00
|
|
|
"fork-awesome": "^1.1.7",
|
|
|
|
"ng2-charts": "^2.3.0",
|
|
|
|
"ngx-clipboard": "^13.0.0",
|
|
|
|
"ngx-markdown": "^9.0.0",
|
|
|
|
"ngx-webstorage": "^5.0.0",
|
2021-02-08 11:32:58 +01:00
|
|
|
"node-forge": "^0.10.0",
|
2020-06-16 18:40:48 +02:00
|
|
|
"primeng": "^9.0.6",
|
|
|
|
"quill": "^1.3.7",
|
|
|
|
"rxjs": "^6.5.5",
|
|
|
|
"rxjs-compat": "^6.5.5",
|
|
|
|
"short-unique-id": "^3.0.3",
|
2020-11-05 14:05:05 +01:00
|
|
|
"stream": "^0.0.2",
|
2020-06-16 18:40:48 +02:00
|
|
|
"tslib": "<2.0.0",
|
|
|
|
"zone.js": "^0.10.3"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@angular-builders/jest": "^9.0.1",
|
|
|
|
"@angular-devkit/build-angular": "^0.901.2",
|
|
|
|
"@angular/cli": "^9.1.2",
|
|
|
|
"@angular/compiler-cli": "^9.1.1",
|
|
|
|
"@angular/language-service": "^9.0.7",
|
|
|
|
"@babel/core": "^7.9.0",
|
|
|
|
"@babel/preset-env": "^7.9.5",
|
|
|
|
"@babel/preset-typescript": "^7.9.0",
|
|
|
|
"@compodoc/compodoc": "^1.1.11",
|
|
|
|
"@types/jest": "^26.0.0",
|
|
|
|
"@types/node": "^14.0.1",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^3.0.0",
|
|
|
|
"@typescript-eslint/parser": "^3.0.0",
|
|
|
|
"babel-jest": "^26.0.0",
|
|
|
|
"concurrently": "^5.2.0",
|
|
|
|
"eslint": "^7.0.0",
|
|
|
|
"eslint-config-prettier": "^6.11.0",
|
|
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
|
|
"husky": "^4.2.5",
|
|
|
|
"jest": "^26.0.0",
|
|
|
|
"jest-environment-jsdom-sixteen": "^1.0.3",
|
|
|
|
"jest-preset-angular": "^8.1.3",
|
|
|
|
"json-server": "^0.16.1",
|
|
|
|
"lint-staged": "^10.1.7",
|
|
|
|
"prettier": "^2.0.5",
|
|
|
|
"protractor": "~7.0.0",
|
|
|
|
"ts-jest": "^26.0.0",
|
|
|
|
"ts-mockito": "^2.5.0",
|
|
|
|
"ts-node": "^8.10.1",
|
|
|
|
"typescript": "<3.9.0"
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"src/**/*.{js,jsx,ts,tsx,md,html,css,scss}": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.js": [
|
|
|
|
"prettier --write"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"preset": "jest-preset-angular",
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>/src/jest.setup.ts"
|
|
|
|
],
|
|
|
|
"testEnvironment": "jest-environment-jsdom-sixteen",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(ts|html)$": "ts-jest",
|
|
|
|
"^.+\\.jsx?$": "babel-jest"
|
|
|
|
}
|
|
|
|
}
|
2019-08-09 13:38:51 +02:00
|
|
|
}
|