forked from Giphy/giphy-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 1.84 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
{
"name": "giphy-js",
"scripts": {
"lint": "eslint --ext .ts,.tsx ./packages --config ./.eslintrc --ignore-path ./.eslintignore",
"test": "lerna exec -- npm test",
"snapshot": "lerna run snapshot",
"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'"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"repository": {
"type": "git",
"url": "[email protected]:Giphy/giphy-js.git"
},
"private": false,
"devDependencies": {
"@types/jest": "^26.0.10",
"@types/node": "^14.6.0",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"eslint": "^7.7.0",
"eslint-config-standard": "^14.1.1",
"eslint-import-resolver-typescript": "^2.2.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.5",
"jest": "^26.4.2",
"lerna": "^3.22.1",
"lerna-changelog": "^1.0.1",
"lint-staged": "^10.2.13",
"prettier": "^2.1.1",
"prettier-eslint-cli": "^5.0.0",
"ts-jest": "^26.3.0",
"typescript": "^4.0.2"
}
}