-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
76 lines (76 loc) · 1.6 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
76
{
"name": "runpkg",
"version": "1.0.0",
"description": "The online javascript package explorer",
"main": "index.js",
"scripts": {
"start": "servor --reload --browse",
"prettier": "prettier --config .prettierrc --write \"./**/*.{css,html,json,md,yml}\"",
"lint": "eslint \"./**/*.js\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/FormidableLabs/runpkg.git"
},
"author": "Luke Jackson <@lukejacksonn>",
"contributors": [
"Alex Saunders <@alex-saunders>",
"Kara Stubbs <@kiraarghy>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/FormidableLabs/runpkg/issues"
},
"homepage": "https://runpkg.com",
"devDependencies": {
"eslint": "^5.16.0",
"eslint-config-prettier": "^2.9.0",
"husky": "^2.3.0",
"lint-staged": "^8.1.6",
"prettier": "^1.17.0",
"servor": "^3.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{css,html,json,md,yml}": [
"prettier --write",
"git add"
]
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"eslintConfig": {
"root": true,
"extends": [
"eslint:recommended",
"prettier",
"prettier/react"
],
"env": {
"browser": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 10,
"sourceType": "module"
},
"rules": {
"no-useless-escape": "off",
"no-console": "off"
}
}
}