-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
85 lines (85 loc) · 2.9 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
{
"name": "@internetarchive/modal-manager",
"version": "2.0.1",
"description": "A Modal Manager Web Component",
"repository": {
"type": "git",
"url": "https://github.com/internetarchive/iaux-modal-manager.git"
},
"license": "AGPL-3.0-only",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "npm run build && husky install",
"prepare:ghpages": "rimraf ghpages && npm run prepare && vite build && cp -R assets/images ghpages/assets/images",
"start": "concurrently --kill-others --names tsc,es-dev-server \"npm run tsc:watch\" \"es-dev-server --app-index index.html --node-resolve --open --watch --preserve-symlinks\"",
"docs": "typedoc",
"build": "tsc",
"tsc:watch": "tsc --watch",
"lint:eslint": "eslint --ext .ts . --ignore-path .gitignore",
"format:eslint": "eslint --ext .ts . --fix --ignore-path .gitignore",
"lint:prettier": "prettier \"**/*.ts\" --check --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.ts\" --write --ignore-path .gitignore",
"lint": "npm run lint:eslint && npm run lint:prettier",
"format": "npm run format:eslint && npm run format:prettier",
"circular": "madge --circular .",
"test": "tsc && npm run lint && npm run circular && karma start --coverage",
"test:watch": "concurrently --kill-others --names tsc,karma \"npm run tsc:watch\" \"karma start --auto-watch=true --single-run=false\"",
"publish:alpha": "npm run test && npm run prepare && npm version prerelease --preid alpha --no-git-tag-version && npm publish --tag alpha"
},
"dependencies": {
"@internetarchive/ia-activity-indicator": "^0.0.6",
"@internetarchive/icon-close": "^1.3.4",
"@internetarchive/icon-ia-logo": "^1.3.4",
"@internetarchive/icon-user": "^1.3.4",
"lit": "^2.8.0",
"throttle-debounce": "^5.0.0"
},
"devDependencies": {
"@open-wc/eslint-config": "^9.2.2",
"@open-wc/testing": "^4.0.0",
"@open-wc/testing-karma": "^3.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "^20.8.4",
"@types/throttle-debounce": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"concurrently": "^8.0.0",
"deepmerge": "^4.0.0",
"es-dev-server": "^2.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^6.11.0",
"husky": "^9.0.0",
"lint-staged": "^14.0.1",
"madge": "^6.0.0",
"prettier": "^2.7.1",
"rimraf": "^5.0.5",
"tslib": "^2.4.0",
"typedoc": "^0.25.0",
"typescript": "^4.7.4",
"vite": "^4.4.11"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
]
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write",
"git add"
]
}
}