forked from Giphy/giphy-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.69 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
{
"name": "giphy-js",
"scripts": {
"lint": "eslint --ext .ts,.tsx ./packages --config ./.eslintrc --ignore-path ./.eslintignore",
"test": "lerna exec -- npm test",
"test:watch": "lerna run test:watch --stream",
"lerna:publish": "lerna publish from-git --yes",
"format": "prettier-eslint \"$(pwd)/**/*.{js,ts,tsx}\" --write --print-width 120 --tab-width 4"
},
"lint-staged": {
"**/*.{ts,tsx}": [
"prettier-eslint --write --print-width 120 --tab-width 4",
"eslint --rule 'import/no-duplicates: 0' --rule 'import/namespace: 0' --rule 'import/no-unresolved: 0' --rule 'import/named: 0' --rule 'import/default: 0' --rule 'import/no-named-as-default: 0' --rule 'import/no-named-as-default-member: 0'",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"private": false,
"devDependencies": {
"@types/jest": "^24.0.20",
"@types/node": "^12.0.4",
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^2.21.0",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-standard": "^4.0.1",
"husky": "^2.4.0",
"jest": "^24.9.0",
"lerna": "^3.15.0",
"lint-staged": "^8.1.7",
"prettier": "^1.19.1",
"prettier-eslint-cli": "^5.0.0",
"ts-jest": "^24.0.2",
"typescript": "^3.8.2"
}
}