-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
64 lines (64 loc) · 2.02 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
{
"name": "io-ts-validator",
"version": "0.0.7",
"description": "",
"license": "MIT",
"keywords": [
"io-ts",
"typescript"
],
"bugs": {
"url": "https://github.com/maasglobal/io-ts-validator/issues"
},
"homepage": "https://github.com/maasglobal/io-ts-validator/",
"repository": {
"type": "git",
"url": "git+https://github.com/maasglobal/io-ts-validator.git"
},
"main": "lib/validator.js",
"files": [
"lib/**/*"
],
"peerDependencies": {
"fp-ts": "^2.11.1",
"io-ts": "^2.2.16"
},
"devDependencies": {
"@types/jest": "^24.0.12",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"@typescript-eslint/typescript-estree": "^4.3.0",
"eslint": "^6.8.0",
"eslint-config-maasglobal-ts": "^0.0.13",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-deprecation": "^1.2.0",
"eslint-plugin-fp": "^2.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-simple-import-sort": "^5.0.3",
"fp-ts": "^2.11.1",
"io-ts": "^2.2.16",
"io-ts-types": "^0.5.16",
"jest": "^26.5.2",
"monocle-ts": "^2.0.0",
"newtype-ts": "^0.3.5",
"prettier": "^2.1.2",
"ts-jest": "^26.4.1",
"typescript": "^4.6.3"
},
"scripts": {
"readme-ts": "python3 .extract_code.py < README.md > src/readme.ts",
"test": "jest --no-cache",
"clean": "rm -rf lib",
"typecheck": "tsc -p src/tsconfig.json",
"build": "yarn clean && tsc",
"eslint": "eslint --max-warnings=0 '**/*.{ts,js,json}'",
"eslint-fix": "yarn eslint --fix||true",
"prettier": "prettier --write --ignore-path .gitignore --config node_modules/eslint-config-maasglobal-ts/prettierrc.js '**/*.{css,html,js,ts,json,md,yaml,yml}'",
"prettify": "yarn eslint-fix && yarn prettier",
"lint": "yarn eslint",
"ci": "yarn readme-ts && yarn lint && yarn typecheck && yarn test && yarn build",
"deploy-npm": "yarn ci && yarn publish",
"deploy-alpha": "yarn ci && yarn publish --tag alpha"
}
}