-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
39 lines (39 loc) · 1.46 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
{
"name": "singularsight",
"version": "1.0.0",
"description": "",
"main": "index.html",
"scripts": {
"start": "node dev-server.js",
"build": "time (npm run format-check && npm run lint && npm run stylelint && npm run typecheck)",
"typecheck": "tsc --project jsconfig.json",
"format-check": "prettier --check .",
"format-check-pre-commit": "git diff --cached --name-only --diff-filter=ACM | xargs -r prettier --check",
"lint": "eslint src/**/*.js",
"lint-pre-commit": "git diff --cached --name-only --diff-filter=ACM | grep -E '.js$' | xargs -r eslint",
"stylelint": "stylelint src",
"stylelint-pre-commit": "git diff --cached --name-only --diff-filter=ACM | grep -E '.(css|html)$' | xargs -r stylelint",
"pre-commit": "time (npm run format-check-pre-commit && npm run lint-pre-commit && npm run stylelint-pre-commit && npm run typecheck)",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/chai": "4.2.17",
"@types/mocha": "8.2.2",
"@typescript-eslint/eslint-plugin": "4.22.0",
"@typescript-eslint/parser": "4.22.0",
"chai": "4.3.4",
"connect": "3.7.0",
"eslint": "7.24.0",
"eslint-plugin-wc": "1.3.0",
"livereload": "0.9.2",
"mocha": "8.3.2",
"prettier": "2.2.1",
"serve-static": "1.14.1",
"stylelint": "13.12.0",
"stylelint-config-standard": "21.0.0",
"typescript": "4.2.2"
}
}