-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
54 lines (54 loc) · 1.69 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
{
"version": "0.2.0",
"name": "unreachable",
"description": "Utility function for exhaustiveness checking with typed JS (TS or Flow)",
"keywords": [
"unreachable",
"typed",
"flow",
"typescript",
"exhaustiveness",
"bottom type",
"exhaustiveness checking",
"tagged unions",
"disjoint",
"discriminated",
"switch",
"default"
],
"main": "lib/unreachable",
"module": "src/unreachable",
"types": "src/unreachable",
"author": "Irakli Gozalishvili <rfobic@gmail.com> (http://jeditoolkit.com)",
"repository": "https://github.com/Gozala/unreachable",
"license": "MIT",
"devDependencies": {
"babel-cli": "6.24.1",
"babel-preset-flow-node": "^1.0.2",
"babel-register": "6.24.1",
"blue-tape": "^1.0.0",
"documentation": "^5.1.0",
"flow-bin": "^0.52.0",
"flow-copy-source": "^1.2.0",
"husky": "^0.14.0",
"lint-staged": "^4.0.2",
"prettier": "^1.5.3"
},
"scripts": {
"test": "npm run test:flow && npm run test:tape",
"test:tape": "blue-tape -r babel-register test/**/*.js",
"test:flow": "flow check",
"build:clear": "rm -rf lib",
"build:types": "flow-copy-source --verbose src lib",
"build:node": "babel --out-dir lib src",
"build:api": "documentation readme --section=API src/unreachable.js",
"build:docs": "documentation build --document-exported src/** -f html --o docs",
"build": "npm run build:node && npm run build:types",
"prepublish": "npm run build && npm test",
"precommit": "lint-staged",
"start": "flow-copy-source --watch --verbose src lib & babel --watch --out-dir lib src"
},
"lint-staged": {
"*.js": ["prettier --parser flow --no-semi --write", "git add"]
}
}