mirror of
https://github.com/datahub-project/datahub.git
synced 2026-01-07 15:27:05 +00:00
76 lines
2.3 KiB
JSON
76 lines
2.3 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",
|
|
"experimental-test": "yarn parallelBuild && yarn serialTests",
|
|
"test": "wsrun --serial --fast-exit --report --concurrency 4 --changedSince=origin/master --package @nacho-ui/* @datahub/* @linkedin/* datahub-web -c test",
|
|
"commit-test": "lint-staged",
|
|
"parallelBuild": "wsrun --parallel --concurrency 4 --fast-exit --changedSince=origin/master --package @nacho-ui/* @datahub/* @linkedin/* -c ember build",
|
|
"serialTests": "wsrun --serial --package @nacho-ui/* @datahub/* @linkedin/* -c ember test --path ./dist",
|
|
"clean": "rimraf **/dist; rimraf **/build;rimraf **/node_modules;"
|
|
},
|
|
"devDependencies": {
|
|
"@dh-tools/eslint-plugin": "^0.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^2.19.0",
|
|
"@typescript-eslint/parser": "^2.19.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"ember-cli": "~3.22.0",
|
|
"ember-cli-template-lint": "^2.0.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.10.0",
|
|
"eslint-plugin-ember": "^7.7.2",
|
|
"eslint-plugin-import": "^2.17.3",
|
|
"eslint-plugin-node": "^11.0.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"husky": "^2.4.1",
|
|
"lint-staged": "^9.5.0",
|
|
"prettier": "^1.18.2",
|
|
"rimraf": "^3.0.2",
|
|
"typescript": "^3.9.3",
|
|
"wsrun": "^4.0.2"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"@datahub/*",
|
|
"@linkedin/*",
|
|
"@nacho-ui/*",
|
|
"@dh-tools/*",
|
|
"packages/*"
|
|
],
|
|
"nohoist": [
|
|
"**/@types/ember-data",
|
|
"**/babel-preset-env",
|
|
"**/babel-preset-env/**",
|
|
"**/marked/",
|
|
"**/marked/**",
|
|
"**/husky",
|
|
"**/husky/**",
|
|
"**/vis",
|
|
"**/vis/**"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{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"
|
|
}
|
|
}
|
|
}
|