mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: support inrupt coding standards
This commit is contained in:
15
package.json
15
package.json
@@ -7,9 +7,19 @@
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"lint": "eslint . --ext .ts",
|
||||
"prepare": "npm run lint && npm run build",
|
||||
"test": "jest"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run lint && npm run build"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts",
|
||||
"src/**/*.js",
|
||||
"src/**/*.d.ts"
|
||||
],
|
||||
"dependencies": {
|
||||
"@rdfjs/data-model": "^1.1.2",
|
||||
"@types/jest": "^25.2.1",
|
||||
@@ -20,11 +30,12 @@
|
||||
"@typescript-eslint/eslint-plugin": "^2.33.0",
|
||||
"@typescript-eslint/parser": "^2.33.0",
|
||||
"eslint": "^7.0.0",
|
||||
"eslint-config-es": "^3.19.61",
|
||||
"eslint-config-prettier": "^6.11.0",
|
||||
"eslint-plugin-prettier": "^3.1.3",
|
||||
"eslint-plugin-tsdoc": "^0.2.4",
|
||||
"husky": "^4.2.5",
|
||||
"jest": "^26.0.1",
|
||||
"pre-commit": "^1.2.2",
|
||||
"prettier": "^2.0.5",
|
||||
"ts-jest": "^25.5.1",
|
||||
"typescript": "^3.9.2"
|
||||
|
||||
Reference in New Issue
Block a user