This repository has been archived by the owner on Dec 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
48 lines (48 loc) · 1.84 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
{
"name": "match-errors",
"version": "1.0.0",
"description": "Quickly match errors to the appropriate error handler. No more if/switch/else/case messes.",
"main": "index.js",
"scripts": {
"lint": "eslint --fix src && echo 'Lint complete.'",
"typecheck": "npx -p typescript tsc --rootDir . src/test.js --allowJs --checkJs --noEmit --lib es6 --jsx react && echo 'TypeScript check complete.'",
"ts": "npm run -s typecheck",
"unit": "node src/test.js",
"test": "npm run -s unit && npm run -s lint",
"watch": "watch 'clear && npm run -s unit && npm run -s lint' src",
"debug": "node --inspect-brk src/test.js",
"test-coverage": "nyc npm test",
"test-coverage-ci": "nyc --reporter=text-lcov npm test",
"show-coverage-ci": "nyc report --reporter=text-lcov | coveralls",
"show-coverage-text": "nyc report --reporter=text || echo \"Run 'npm run test-coverage' first.\"",
"show-coverage-html": "open coverage/index.html || echo \"Run 'npm run test-coverage' first.\"",
"watch": "watch 'clear && npm run -s unit | tap-nirvana && npm run -s lint' src",
"precommit": "npm run -s test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ericelliott/match-errors.git"
},
"keywords": [],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/ericelliott/match-errors/issues"
},
"homepage": "https://github.com/ericelliott/match-errors#readme",
"devDependencies": {
"coveralls": "3.1.0",
"eslint": "7.29.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-prettier": "3.4.0",
"markdownlint-cli": "0.27.1",
"nyc": "14.1.1",
"prettier": "1.19.1",
"riteway": "6.2.1",
"tap-nirvana": "1.1.0",
"textlint": "11.9.1",
"textlint-rule-common-misspellings": "1.0.1",
"textlint-rule-terminology": "2.1.5",
"watch": "1.0.2"
}
}