-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.85 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
{
"type": "module",
"name": "jam-x",
"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",
"dts": "tsc -p dts.cfg.json"
},
"module": "./index.js",
"exports": {
".": "./index.js",
"./iso": "./iso/index.js",
"./core": "./core/index.js",
"./ext": "./ext/index.js",
"./utils": "./utils/index.js",
"./symbiote": "./symbiote/core/index.js"
},
"types": "./types/index.d.ts",
"publishConfig": {
"access": "public"
},
"version": "0.6.5",
"description": "jam-x",
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/jam-do/jam-x/issues"
},
"homepage": "https://jam-do.org/",
"repository": {
"type": "git",
"url": "git+https://github.com/jam-do/jam-x.git"
},
"keywords": [
"jam-x, 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",
"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": "^5.0.2",
"@symbiotejs/symbiote": "^2.0.2"
},
"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"
]
}
}