forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.32 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"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"
}
}
}