-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.22 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.22 KB
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": "xdn-examples",
"version": "1.0.0",
"description": "",
"scripts": {
"lint": "eslint --ext .js,.ts --config .eslintrc.js .",
"prettier:all": "cat .gitignore ._prettierignore > .prettierignore; prettier --plugin-search-dir=. --write --ignore-path .prettierignore \"**/*.{js,ts,svelte,json,css,yml}\"",
"lint-staged": "lint-staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/moovweb-docs/xdn-examples.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"prettier --write",
"eslint --fix --config .eslintrc.js",
"git add"
],
"*.{vue,svelte,json,css,yml}": [
"prettier --plugin-search-dir=. --write",
"git add"
]
},
"devDependencies": {
"@types/node": "^14.14.11",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"babel-eslint": "^10.1.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-react": "^7.21.5",
"husky": "^4.3.5",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"prettier-plugin-svelte": "^1.4.2",
"svelte": "^3.31.0",
"typescript": "^4.1.2"
}
}