-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.48 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 3.48 KB
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
{
"name": "@internetarchive/donation-monthly-portal",
"version": "7.7.0",
"description": "The Internet Archive Monthly Portal",
"license": "AGPL-3.0-only",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"src/**/*",
"index.d.ts",
"index.js"
],
"scripts": {
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
"prepare": "rimraf dist && tsc && husky install",
"build": "tsc",
"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 && npm run lint && npm run circular && wtr --coverage",
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
"ghpages:build": "rimraf ghpages && npm run prepare && vite build",
"ghpages:publish": "npm run ghpages:prepare -e $(git branch --show-current)",
"ghpages:prepare": "npm run ghpages:build && touch ghpages/.nojekyll && npm 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/donation-form": "^1.0.0",
"@internetarchive/donation-form-data-models": "^0.3.5",
"@internetarchive/donation-form-section": "^0.3.6",
"@internetarchive/iaux-notification-toast": "^0.0.0-alpha2",
"@internetarchive/icon-calendar": "^1.3.4",
"@internetarchive/icon-credit-card": "^1.3.4",
"@internetarchive/icon-donate": "^1.3.4",
"@internetarchive/icon-lock": "^1.3.4",
"@internetarchive/lazy-loader-service": "^0.2.0",
"@types/braintree": "^3.4.0",
"lit": "^2.8.0"
},
"devDependencies": {
"@open-wc/eslint-config": "^9.0.0",
"@open-wc/testing": "^4.0.0",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@web/dev-server": "^0.4.0",
"@web/test-runner": "^0.20.0",
"concurrently": "^9.0.0",
"eslint": "^8.18.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-html": "^8.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-lit": "^1.15.0",
"eslint-plugin-lit-a11y": "^4.0.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-wc": "^3.0.0",
"gh-pages": "^6.0.0",
"husky": "^9.0.0",
"madge": "^8.0.0",
"prettier": "^3.0.0",
"rimraf": "^6.0.0",
"sinon": "^21.0.0",
"ts-lit-plugin": "^2.0.0",
"tslib": "^2.7.0",
"typescript": "^5.0.0",
"vite": "^5.1.0"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"@open-wc",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-console": 1,
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": 2,
"no-shadow": "off",
"@typescript-eslint/no-shadow": 2,
"class-methods-use-this": "off",
"import/no-unresolved": "off",
"import/extensions": [
"off",
"ignorePackages",
{
"js": "never",
"ts": "never"
}
]
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write",
"git add"
]
}
}