-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
83 lines (83 loc) · 2.79 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
{
"name": "@internetarchive/search-service",
"version": "1.4.1",
"description": "A search service for the 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": "concurrently --kill-others --names tsc,web-dev-server \"npm run tsc:watch\" \"web-dev-server --app-index demo/index.html --node-resolve --open --watch\"",
"tsc:watch": "tsc --watch",
"docs": "typedoc ./index.ts",
"prepare": "tsc",
"lint:eslint": "eslint --ext .ts,.html . --ignore-path .gitignore",
"format:eslint": "eslint --ext .ts,.html . --fix --ignore-path .gitignore",
"lint:prettier": "prettier \"**/*.js\" \"**/*.ts\" --check --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.js\" \"**/*.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 --extensions ts .",
"test": "tsc && npm run lint && npm run circular && web-test-runner --coverage",
"test:watch": "web-test-runner --watch",
"codecov": "npx codecov",
"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]\""
},
"devDependencies": {
"@open-wc/eslint-config": "^4.2.0",
"@open-wc/testing": "^2.0.0",
"@types/node": "13.11.1",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"@web/dev-server": "^0.0.12",
"@web/test-runner": "^0.13.23",
"concurrently": "^5.1.0",
"eslint": "^7.21.0",
"eslint-config-prettier": "^6.11.0",
"husky": "^1.0.0",
"lint-staged": "^10.0.0",
"lit": "^2.2.2",
"madge": "^3.12.0",
"prettier": "^2.0.4",
"rimraf": "^3.0.2",
"sinon": "^12.0.1",
"tslib": "^1.14.1",
"typedoc": "^0.20.29",
"typescript": "^4.2.2",
"vite": "^2.9.13"
},
"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"
]
},
"dependencies": {
"@internetarchive/field-parsers": "^0.1.4",
"@internetarchive/result-type": "^0.0.1",
"decorator-cache-getter": "^1.0.0",
"typescript-memoize": "^1.1.0"
}
}