Commit d774b9d2 authored by Fabien Amarger's avatar Fabien Amarger
Browse files

fix: [package] Update package and use eslint for linting

parent 9257053f63e8
......@@ -21,17 +21,7 @@ Deps:
Lint:
stage: lint
script:
- npm run linter:check
Format:
stage: lint
script:
- npm run format:check
Prettier:
stage: lint
script:
- npm run prettier:check
- npm run lint
CanBuild:
stage: build
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -4,15 +4,10 @@
"description": "Experimental implementation of a set of views for the linked-data browser.",
"scripts": {
"clean": "rm -rf build",
"format": "tsfmt -r",
"format:check": "tsfmt --verify",
"build": "webpack",
"build:production": "NODE_ENV=production tsfmt --verify && tslint -p . -c tslint.json 'src/**/*.ts*' && webpack",
"linter": "tslint -p . -c tslint.json 'src/**/*.ts*' --fix",
"linter:check": "tslint -p . -c tslint.json 'src/**/*.ts*'",
"serve": "webpack && webpack-dev-server",
"prettier:check": "prettier --check ./src/**/*.{jsx,tsx,ts,js,css}",
"prettier": "prettier --write ./src/**/*.{jsx,tsx,ts,js,css}"
"lint": "eslint src"
},
"main": "./build/index.js",
"types": "./build/lib/index.d.ts",
......@@ -28,32 +23,39 @@
"license": "LGPL-3.0",
"dependencies": {
"@logilab/libview": "^0.6.4",
"rdflib": "^1.3.1",
"rdflib": "^1.3.2",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-markdown": "^4.3.1",
"solid-auth-cli": "^1.0.15",
"solid-auth-client": "^2.5.1",
"vue": "^2.5.16"
"vue": "^2.6.12"
},
"devDependencies": {
"@types/rdflib": "^0.17.0",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"ajv": "^6.5.2",
"@types/react": "^16.9.52",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"ajv": "^6.12.6",
"babel-eslint": "^10.1.0",
"copy-webpack-plugin": "^4.5.2",
"css-loader": "^1.0.0",
"prettier": "^2.0.5",
"eslint": "^7.8.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
"prettier": "^2.1.1",
"source-map-loader": "^0.2.3",
"ts-loader": "^4.4.2",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^2.9.2",
"typescript-formatter": "^7.2.2",
"vue-loader": "^15.2.6",
"vue-template-compiler": "^2.5.16",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.1",
"webpack-dev-server": "^3.0.0"
"typescript": "^4.0.0",
"vue-loader": "^15.9.3",
"vue-template-compiler": "^2.6.12",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment