mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-31 20:03:46 +00:00
75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"scripts": {
|
|
"postinstall": "chmod +x ./node_modules/husky/husky.js;node ./node_modules/husky/husky.js install",
|
|
"lint:hbs": "ember-template-lint ./**/*.hbs",
|
|
"lint:js": "eslint . --ext .js --ext .ts --quiet",
|
|
"lint:jsfix": "eslint . --ext .js --ext .ts --quiet --fix",
|
|
"test": "wsrun --serial test",
|
|
"commit-test": "lint-staged"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^1.13.0",
|
|
"@typescript-eslint/parser": "^1.13.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"ember-cli-template-lint": "^1.0.0-beta.3",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-prettier": "^4.3.0",
|
|
"eslint-plugin-ember": "^6.5.1",
|
|
"eslint-plugin-import": "^2.17.3",
|
|
"eslint-plugin-node": "^8.0.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"husky": "^2.4.1",
|
|
"lint-staged": "^8.1.5",
|
|
"prettier": "^1.18.2",
|
|
"typescript": "^3.5.3",
|
|
"wsrun": "^4.0.2"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"@datahub/*",
|
|
"packages/*"
|
|
],
|
|
"nohoist": [
|
|
"**/@types/ember-data",
|
|
"**/babel-preset-env",
|
|
"**/babel-preset-env/**",
|
|
"**/jquery.treegrid/",
|
|
"**/jquery.treegrid/**",
|
|
"**/jquery-jsonview/",
|
|
"**/jquery-jsonview/**",
|
|
"**/marked/",
|
|
"**/marked/**",
|
|
"**/husky",
|
|
"**/husky/**",
|
|
"**/vis",
|
|
"**/vis/**"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"linters": {
|
|
"**/*.{ts,js,scss,css}": [
|
|
"./node_modules/.bin/prettier --print-width 120 --single-quote --write",
|
|
"git add"
|
|
],
|
|
"**/*.{ts,js}": [
|
|
"./node_modules/.bin/eslint -c .eslintrc.precommit.js",
|
|
"git add"
|
|
],
|
|
"**/*.hbs": [
|
|
"./node_modules/.bin/ember-template-lint",
|
|
"git add"
|
|
]
|
|
}
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"yarn": "^1.10.1"
|
|
}
|
|
}
|