forked from tykayn/funky-framadate-front
130 lines
4.5 KiB
JSON
130 lines
4.5 KiB
JSON
{
|
|
"name": "framadate-funky-frontend",
|
|
"version": "0.6.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/",
|
|
"build:prod:demobliss": "ng build --prod --baseHref=https://framadate-api.cipherbliss.com --stats-json ",
|
|
"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",
|
|
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags",
|
|
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags",
|
|
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags",
|
|
"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",
|
|
"start:proxymock": "concurrently --kill-others \"yarn mock:server\" \"yarn start:proxy\"",
|
|
"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"
|
|
},
|
|
"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",
|
|
"@biesbjerg/ngx-translate-extract": "^7.0.3",
|
|
"@biesbjerg/ngx-translate-po-http-loader": "^3.1.0",
|
|
"@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",
|
|
"crypto": "^1.0.1",
|
|
"crypto-js": "^4.0.0",
|
|
"fork-awesome": "^1.1.7",
|
|
"ng-keyboard-shortcuts": "^10.1.17",
|
|
"ng2-charts": "^2.3.0",
|
|
"ngx-clipboard": "^13.0.0",
|
|
"ngx-markdown": "^9.0.0",
|
|
"ngx-webstorage": "^5.0.0",
|
|
"node-forge": "^0.10.0",
|
|
"primeng": "^11.0.0",
|
|
"quill": "^1.3.7",
|
|
"rxjs": "^6.5.5",
|
|
"rxjs-compat": "^6.5.5",
|
|
"short-unique-id": "^3.0.3",
|
|
"stream": "^0.0.2",
|
|
"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/crypto-js": "^4.0.0",
|
|
"@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"
|
|
}
|
|
}
|
|
}
|