generated from internetarchive/iaux-typescript-wc-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
124 lines (124 loc) · 3.97 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
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "@internetarchive/ia-item-navigator",
"version": "2.1.2",
"description": "Internet Archive's Item Navigator, visually explore an item's contents.",
"repository": {
"type": "git",
"url": "git+https://github.com/internetarchive/iaux-item-navigator.git"
},
"author": "Internet Archive",
"license": "AGPL-3.0-only",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"publishConfig": {
"access": "public"
},
"scripts": {
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
"build": "tsc",
"prepare": "rimraf dist && tsc && husky install",
"lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
"format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
"circular": "madge --circular --extensions ts .",
"test": "tsc && yarn run lint && yarn run circular && wtr --coverage",
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
"ghpages:build": "rimraf ghpages && yarn run prepare && vite build",
"ghpages:publish": "yarn run ghpages:prepare -e $(git branch --show-current)",
"ghpages:prepare": "yarn run ghpages:build && touch ghpages/.nojekyll && yarn run ghpages:generate",
"ghpages:generate": "gh-pages -t -d ghpages -m \"Build for $(git log --pretty=format:\"%h %an %ai %s\" -n1) [skip ci]\""
},
"dependencies": {
"@internetarchive/icon-collapse-sidebar": "^1.3.4",
"@internetarchive/icon-ellipses": "^1.3.4",
"@internetarchive/icon-email": "^1.3.4",
"@internetarchive/icon-facebook": "^1.3.4",
"@internetarchive/icon-link": "^1.3.4",
"@internetarchive/icon-pinterest": "^1.3.4",
"@internetarchive/icon-share": "^1.3.4",
"@internetarchive/icon-tumblr": "^1.3.4",
"@internetarchive/icon-twitter": "^1.3.4",
"@internetarchive/icon-visual-adjustment": "^1.3.4",
"@internetarchive/modal-manager": "^0.2.7",
"@internetarchive/search-service": "^0.1.2",
"@internetarchive/shared-resize-observer": "^0.0.1",
"@types/resize-observer-browser": "^0.1.6",
"lit": "^2.8.0"
},
"devDependencies": {
"@babel/core": "^7.11.0",
"@open-wc/eslint-config": "^12.0.0",
"@open-wc/testing": "^3.2.0",
"@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@web/dev-server": "^0.3.1",
"@web/test-runner": "^0.17.1",
"concurrently": "^8.2.1",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-lit": "^1.3.0",
"eslint-plugin-lit-a11y": "^4.0.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-wc": "^1.2.0",
"gh-pages": "^5.0.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"madge": "^6.1.0",
"prettier": "^3.0.3",
"rimraf": "^4.0.0",
"sinon": "^15.2.0",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^4.0.0"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"@open-wc",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"no-shadow": "off",
"@typescript-eslint/no-shadow": [
"error"
],
"class-methods-use-this": "off",
"import/no-unresolved": "off",
"import/extensions": [
"off",
"ignorePackages",
{
"js": "never",
"ts": "never"
}
],
"import/no-duplicates": "off"
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write",
"git add"
]
}
}