|
1 | 1 | {
|
2 | 2 | "name": "@internetarchive/your-webcomponent",
|
3 |
| - "version": "0.0.0", |
4 | 3 | "description": "The Internet Archive Typescript WebComponent template. It is based on the @open-wc template.",
|
5 |
| - "author": "Internet Archive", |
6 | 4 | "license": "AGPL-3.0-only",
|
| 5 | + "author": "Internet Archive", |
| 6 | + "version": "0.0.0", |
7 | 7 | "main": "dist/index.js",
|
8 | 8 | "module": "dist/index.js",
|
9 |
| - "types": "dist/index.d.ts", |
10 |
| - "publishConfig": { |
11 |
| - "access": "public" |
12 |
| - }, |
13 | 9 | "scripts": {
|
14 | 10 | "start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
|
15 | 11 | "build": "tsc",
|
|
20 | 16 | "test": "tsc && yarn run lint && yarn run circular && wtr --coverage",
|
21 | 17 | "test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\""
|
22 | 18 | },
|
| 19 | + "types": "dist/index.d.ts", |
23 | 20 | "dependencies": {
|
24 |
| - "lit-element": "^2.2.1", |
25 |
| - "lit-html": "^1.1.2" |
| 21 | + "lit": "^2.0.2" |
26 | 22 | },
|
27 | 23 | "devDependencies": {
|
28 |
| - "@open-wc/eslint-config": "^4.2.0", |
29 |
| - "@open-wc/testing": "^2.0.0", |
30 |
| - "@typescript-eslint/eslint-plugin": "^4.16.1", |
31 |
| - "@typescript-eslint/parser": "^4.16.1", |
| 24 | + "@open-wc/eslint-config": "^6.0.0", |
| 25 | + "@open-wc/testing": "next", |
| 26 | + "@typescript-eslint/eslint-plugin": "^4.29.2", |
| 27 | + "@typescript-eslint/parser": "^4.29.2", |
32 | 28 | "@web/dev-server": "^0.1.1",
|
33 |
| - "@web/test-runner": "^0.13.15", |
| 29 | + "@web/test-runner": "next", |
34 | 30 | "concurrently": "^5.3.0",
|
35 |
| - "eslint": "^7.21.0", |
36 |
| - "eslint-config-prettier": "^6.11.0", |
37 |
| - "husky": "^1.0.0", |
38 |
| - "lint-staged": "^10.0.0", |
| 31 | + "eslint": "^7.32.0", |
| 32 | + "eslint-config-prettier": "^8.3.0", |
| 33 | + "eslint-plugin-wc": "^1.3.2", |
| 34 | + "husky": "^4.3.8", |
| 35 | + "lint-staged": "^10.5.4", |
39 | 36 | "madge": "^4.0.1",
|
40 |
| - "prettier": "^2.0.4", |
| 37 | + "prettier": "^2.3.2", |
41 | 38 | "sinon": "^9.2.4",
|
42 | 39 | "tslib": "^2.0.3",
|
43 | 40 | "typescript": "^4.2.3"
|
44 | 41 | },
|
| 42 | + "publishConfig": { |
| 43 | + "access": "public" |
| 44 | + }, |
45 | 45 | "eslintConfig": {
|
46 | 46 | "parser": "@typescript-eslint/parser",
|
47 | 47 | "extends": [
|
48 |
| - "@open-wc/eslint-config", |
49 |
| - "eslint-config-prettier" |
| 48 | + "@open-wc", |
| 49 | + "prettier" |
50 | 50 | ],
|
51 | 51 | "plugins": [
|
52 | 52 | "@typescript-eslint"
|
|
63 | 63 | "class-methods-use-this": "off",
|
64 | 64 | "import/no-unresolved": "off",
|
65 | 65 | "import/extensions": [
|
66 |
| - "warn", |
| 66 | + "off", |
| 67 | + "ignorePackages", |
67 | 68 | {
|
68 | 69 | "js": "never",
|
69 | 70 | "ts": "never"
|
|
0 commit comments