-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
105 lines (105 loc) · 2.56 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "lona",
"private": true,
"version": "0.0.0",
"description": "A tool for defining design systems and using them to generate cross-platform UI code, Sketch files, and other artifacts.",
"directories": {
"doc": "docs",
"example": "examples"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint --quiet . && (cd studio && ./Pods/SwiftLint/swiftlint)",
"prettier:base": "prettier --write --ignore-path ./config/.prettierignore",
"lint-staged": "lint-staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/airbnb/Lona.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/airbnb/Lona/issues"
},
"homepage": "https://github.com/airbnb/Lona#readme",
"devDependencies": {
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"lint-staged": "^8.1.5",
"pre-commit": "^1.2.2",
"prettier": "^1.16.4"
},
"pre-commit": [
"lint-staged"
],
"lint-staged": {
"linters": {
"*.swift": [
"./config/pre-commit-swiftlint.sh"
],
"*.{js,jsx}": [
"npm run prettier:base",
"eslint",
"git add"
],
"*.md": [
"npm run prettier:base",
"git add"
]
},
"ignore": [
"/examples"
]
},
"prettier": {
"proseWrap": "never",
"singleQuote": true,
"trailingComma": "es5",
"semi": false
},
"eslintConfig": {
"root": true,
"extends": [
"airbnb",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"import/no-dynamic-require": "off",
"import/prefer-default-export": "off",
"react/jsx-filename-extension": "off",
"react/jsx-indent": "off",
"react/destructuring-assignment": "off",
"react/jsx-one-expression-per-line": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"global-require": "off",
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "es5",
"semi": false
}
]
}
},
"eslintIgnore": [
"/compiler/core",
"/examples",
"/**/node_modules",
"/compiler/react-component-analyzer/examples",
"/studio/Carthage",
"/studio/LonaStudio",
"/studio/Pods",
"/studio/workspace",
"/studio/embedded-sites/markdown-editor/build"
]
}