-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
80 lines (80 loc) · 2.48 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
{
"name": "@webcardinal/core",
"version": "1.0.1",
"description": "WebCardinal components for general routing, bindable decorators and base controllers.",
"main": "build/dist/index.cjs.js",
"module": "build/dist/index.js",
"es2015": "build/dist/esm/index.mjs",
"es2017": "build/dist/esm/index.mjs",
"types": "build/dist/types/index.d.ts",
"collection": "build/dist/collection/collection-manifest.json",
"collection:main": "build/dist/collection/index.js",
"unpkg": "build/dist/webcardinal/webcardinal.js",
"files": [
"build/dist"
],
"scripts": {
"build": "stencil build --prod",
"dev": "stencil build --dev",
"generate": "stencil generate",
"docs": "stencil build --docs",
"lint": "npm run eslint && npm run prettier -- --check",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write",
"prettier": "prettier \"./{src,base}/**/*.{js,ts,tsx}\" \"!base/libs/**\" \"!src/components.d.ts\"",
"eslint": "eslint src --ext .js,.ts,.tsx"
},
"devDependencies": {
"@ionic/eslint-config": "^0.3.0",
"@ionic/prettier-config": "^1.0.1",
"@stencil/core": "^2.3.0",
"@stencil/eslint-plugin": "^0.4.0",
"@stencil/router": "^1.0.1",
"@stencil/sass": "^1.4.1",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.31",
"@types/puppeteer": "^5.4.0",
"@webcardinal/internals": "file:../../dependencies/webcardinal-internals",
"dom-parser": "^0.1.6",
"eslint": "^7.20.0",
"husky": "^5.0.9",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
"jest-stare": "^2.4.1",
"prettier": "2.6.0",
"puppeteer": "^5.4.1",
"typescript": "^4.1.5"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webcardinal/webcardinal-core.git"
},
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "npm run prettier -- --write"
}
},
"eslintConfig": {
"extends": "@ionic/eslint-config/recommended",
"env": {
"browser": true
},
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/prefer-for-of": "warn",
"@typescript-eslint/prefer-optional-chain": "warn",
"@typescript-eslint/no-empty-function": "warn",
"no-prototype-builtins": "warn",
"no-useless-escape": "warn"
},
"ignorePatterns": [
"base/libs/*"
]
},
"jest-stare": {
"resultDir": "test-results",
"reportTitle": "WebCardinal Tests",
"reportHeadline": "webcardinal-core",
"resultJson": "test.json"
}
}