-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 2.99 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "tagged-ts",
"version": "0.2.0",
"description": "A tagged unions code generation library for discriminating tastes",
"files": [
"lib",
"es6"
],
"main": "lib/index.js",
"module": "es6/index.js",
"typings": "lib/index.d.ts",
"sideEffects": false,
"scripts": {
"lint": "tslint src/**/*.ts test/**/*.ts",
"prettier": "prettier --list-different \"{src,test}/**/*.ts\"",
"prettier-fmt": "prettier --write \"{src,test}/**/*.ts\"",
"safety-check": "yarn prettier && yarn lint && yarn test",
"jest": "jest --ci --passWithNoTests",
"test": "yarn prettier && yarn lint && yarn jest && yarn docs",
"test-via-mocha": "TS_NODE_CACHE=false mocha -r ts-node/register test/*.ts",
"clean": "rm -rf lib/* es6/*",
"build": "yarn clean && tsc -p ./tsconfig.build.json && tsc -p ./tsconfig.build-es6.json && yarn docs",
"make-tsc-files": "node make-build-tsc-files.js",
"type-check-tsc-files": "tsc --noEmit --strict lib-tsc.ts es6-tsc.ts",
"clean-tsc-files": "rm lib-tsc.ts es6-tsc.ts",
"type-check-build": "yarn make-tsc-files && yarn type-check-tsc-files && yarn clean-tsc-files",
"postbuild": "prettier --write \"./{lib,es6}/**/*.ts\"",
"prepublish": "(not-in-publish && echo 'Skipping prepublish (deprecated)') || npm run require-npm4-to-publish",
"require-npm4-to-publish": "semver -r '>=4.0.0' $(npm --version) || (echo 'NPM 4+ required to publish' && exit 1)",
"prepublishOnly": "yarn safety-check && yarn build && yarn type-check-build",
"docs": "docs-ts"
},
"repository": {
"type": "git",
"url": "https://github.com/joshburgess/tagged-ts.git"
},
"author": "Josh Burgess <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/joshburgess/tagged-ts/issues"
},
"homepage": "https://github.com/joshburgess/tagged-ts",
"dependencies": {},
"devDependencies": {
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.5",
"docs-ts": "^0.4.0",
"fs": "^0.0.1-security",
"in-publish": "^2.0.1",
"jest": "^26.0.1",
"mocha": "^7.2.0",
"prettier": "^2.0.5",
"semver": "^7.3.2",
"ts-jest": "^26.0.0",
"ts-node": "^8.10.1",
"tslint": "^6.1.2",
"tslint-config-standard": "^9.0.0",
"tslint-immutable": "^6.0.1",
"typescript": "^3.9.5"
},
"keywords": [
"union",
"unions",
"disjoint union",
"disjoint unions",
"tagged",
"tagged union",
"tagged unions",
"variant",
"variants",
"variant record",
"variant records",
"discriminated union",
"discriminated unions",
"sum type",
"sum types",
"coproduct",
"coproducts",
"generate",
"generation",
"adt",
"adts",
"ADT",
"ADTs",
"algebraic data type",
"algebraic data types",
"sum",
"sum types",
"generic",
"polymorphic",
"polymorphic type",
"polymorphic types",
"functional programming",
"pattern matching",
"match",
"fold",
"cata",
"catamorphism",
"typescript"
]
}