forked from tykayn/funky-framadate-front
dd9bb8922f
- intall & configure linters (eslint, prettier, etc.)
106 lines
4.0 KiB
JSON
106 lines
4.0 KiB
JSON
{
|
|
"name": "framadate-funky-frontend",
|
|
"version": "1.0.0",
|
|
"licence": "AGPL-3.0-or-later",
|
|
"scripts": {
|
|
"ng": "ng",
|
|
"start": "ng serve",
|
|
"compodoc": "compodoc -p tsconfig.json",
|
|
"serve": "ng serve",
|
|
"build": "ng build --crossOrigin=anonymous --prod",
|
|
"package": "cat dist/framadate/*.js > dist/framadate/framadate-scripts-bundled.js && ls -l dist/framadate",
|
|
"bld:pkg": "npm run build && npm run package",
|
|
"build:demo": "ng build --crossOrigin=anonymous --extractCss=true --progress=true --prod && npm run package",
|
|
"build:demobliss": "ng build --crossOrigin=anonymous --extractCss=true --baseHref=https://framadate-api.cipherbliss.com --progress=true --prod && npm run package",
|
|
"test": "ng test --code-coverage --watch=false",
|
|
"lint": "ng lint",
|
|
"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",
|
|
"storybook": "start-storybook -p 6006",
|
|
"build-storybook": "build-storybook",
|
|
"postinstall": "ngcc"
|
|
},
|
|
"private": false,
|
|
"dependencies": {
|
|
"@angular/animations": "^9.1.1",
|
|
"@angular/cdk": "^9.2.0",
|
|
"@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/platform-browser": "^9.0.7",
|
|
"@angular/platform-browser-dynamic": "^9.0.7",
|
|
"@angular/router": "^9.0.7",
|
|
"@fullcalendar/core": "^4.4.0",
|
|
"@ngx-translate/core": "^12.1.2",
|
|
"@ngx-translate/http-loader": "^4.0.0",
|
|
"angular-date-value-accessor": "^1.0.2",
|
|
"bulma": "^0.8.2",
|
|
"chart.js": "^2.8.0",
|
|
"font-awesome": "^4.7.0",
|
|
"karma-coverage": "^2.0.1",
|
|
"karma-firefox-launcher": "^1.3.0",
|
|
"karma-phantomjs-launcher": "^1.0.4",
|
|
"ngx-clipboard": "^13.0.0",
|
|
"ngx-markdown": "^9.0.0",
|
|
"ngx-toaster": "^1.0.1",
|
|
"primeicons": "^2.0.0",
|
|
"primeng": "^9.0.5",
|
|
"quill": "^1.3.7",
|
|
"rxjs": "^6.5.5",
|
|
"rxjs-compat": "^6.5.5",
|
|
"tslib": "^1.11.1",
|
|
"zone.js": "^0.10.3"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/build-angular": "^0.901.1",
|
|
"@angular/cli": "^9.0.7",
|
|
"@angular/compiler-cli": "^9.1.1",
|
|
"@angular/language-service": "^9.0.7",
|
|
"@babel/core": "^7.9.0",
|
|
"@storybook/addon-actions": "^5.3.18",
|
|
"@storybook/addon-links": "^5.3.18",
|
|
"@storybook/addon-notes": "^5.3.18",
|
|
"@storybook/addons": "^5.3.18",
|
|
"@storybook/angular": "^5.3.18",
|
|
"@types/jasmine": "^3.5.10",
|
|
"@types/jasminewd2": "~2.0.8",
|
|
"@types/node": "^13.11.1",
|
|
"@typescript-eslint/eslint-plugin": "^2.27.0",
|
|
"@typescript-eslint/parser": "^2.27.0",
|
|
"babel-loader": "^8.1.0",
|
|
"compodoc": "^0.0.41",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.10.1",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"husky": "^4.2.5",
|
|
"jasmine-core": "~3.5.0",
|
|
"jasmine-spec-reporter": "~5.0.1",
|
|
"karma": "^5.0.1",
|
|
"karma-chrome-launcher": "~3.1.0",
|
|
"karma-coverage-istanbul-reporter": "~2.1.1",
|
|
"karma-jasmine": "~3.1.0",
|
|
"karma-jasmine-html-reporter": "^1.5.3",
|
|
"lint-staged": "^10.1.3",
|
|
"prettier": "^2.0.4",
|
|
"protractor": "~5.4.3",
|
|
"ts-node": "~8.8.2",
|
|
"typescript": "~3.8.3"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/{app,environments,assets}/**/*.{js,jsx,ts,tsx,md,html,css,scss}": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.js": "eslint --cache --fix"
|
|
}
|
|
}
|