forked from symbiotejs/symbiote.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 2.94 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
106
107
108
109
110
111
112
{
"type": "module",
"name": "@symbiotejs/symbiote",
"scripts": {
"lint:types": "tsc",
"lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore",
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
"lint:prettier": "prettier \"**/*.js\" --check --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.js\" --write --ignore-path .gitignore",
"lint": "npm run lint:types && npm run lint:eslint && npm run lint:prettier",
"format": "npm run format:eslint && npm run format:prettier",
"types": "dts-bundle-generator --config ./dts.config.json",
"dts_native": "tsc -p dts-native.cfg.json",
"build": "node esbuild.js && npm run types"
},
"files": [
"build/*",
"core/*",
"utils/*",
"README.md",
"LICENSE"
],
"module": "./build/symbiote.js",
"types": "./build/symbiote.d.ts",
"publishConfig": {
"access": "public"
},
"version": "1.5.3",
"description": "Symbiote.js",
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/symbiotejs/symbiote.js/issues"
},
"homepage": "https://symbiotejs.org/",
"repository": {
"type": "git",
"url": "git+https://github.com/symbiotejs/symbiote.js.git"
},
"keywords": [
"symbiote.js, web components, custom elements, shadow dom, ui framework"
],
"devDependencies": {
"@babel/eslint-parser": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@types/node": "^17.0.14",
"dts-bundle-generator": "^6.5.0",
"esbuild": "^0.14.8",
"eslint": "^8.0.1",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.11.0",
"husky": "^1.3.1",
"lint-staged": "^11.2.3",
"prettier": "^2.0.5",
"prettier-plugin-jsdoc": "0.0.17",
"typescript": "^4.5.5"
},
"eslintConfig": {
"extends": [
"eslint-config-prettier"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"no-unused-vars": "off",
"no-console": "off",
"max-classes-per-file": "off",
"prefer-const": "off",
"no-param-reassign": "off",
"guard-for-in": "off",
"no-restricted-syntax": "off",
"class-methods-use-this": "off",
"dot-notation": "off",
"no-plusplus": "off",
"no-return-await": "off",
"no-await-in-loop": "off",
"one-var": "off",
"default-case": "warn",
"no-shadow": "warn",
"no-prototype-builtins": "off",
"require-jsdoc": "off",
"valid-jsdoc": "off"
},
"env": {
"node": true,
"browser": true
}
},
"prettier": {
"singleQuote": true,
"tabWidth": 2,
"semi": true,
"arrowParens": "always",
"printWidth": 200,
"parser": "jsdoc-parser"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"tsc --skipLibCheck --allowJs --noEmit",
"eslint --fix",
"prettier --write",
"git add"
]
}
}