-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
128 lines (128 loc) · 4.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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "schemata-ts",
"version": "2.2.5",
"description": "An all-inclusive schema engine featuring schemata inspired by io-ts and validators.js. Written for TypeScript with fp-ts",
"homepage": "https://jacob-alford.github.io/schemata-ts/",
"repository": {
"type": "git",
"url": "https://github.com/jacob-alford/schemata-ts.git"
},
"license": "MIT",
"author": "Jacob Alford <jacob.alford@me.com>",
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"main": "./dist/index.js",
"module": "./dist/_esm/index.mjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": "./dist/index.js",
"import": "./dist/_esm/index.mjs",
"require": "./dist/index.js"
},
"./*": {
"types": "./dist/*.d.ts",
"node": "./dist/*.js",
"import": "./dist/_esm/*.mjs",
"require": "./dist/*.js"
}
},
"typesVersions": {
"*": {
"*": [
"./dist/*.d.ts"
]
}
},
"bugs": {
"url": "https://github.com/jacob-alford/schemata-ts/issues"
},
"scripts": {
"postinstall": "yarn link && yarn link schemata-ts",
"eslint": "eslint ./src/**/*.ts",
"prettier-check": "prettier --list-different src/**/*.ts",
"format": "eslint --fix . && prettier --write .",
"test": "yarn run jest",
"test:w": "yarn run jest --watch",
"test:c": "yarn run jest --coverage",
"test:ci": "yarn run jest --coverage --ci",
"circular": "yarn madge --circular dist",
"clean": "rm -rf dist build",
"build:check": "tsc -p ./tsconfig.build.json --noEmit",
"build": "tsc -b ./tsconfig.build.json",
"build:watch": "yarn build --watch",
"build:mjs": "babel build/esm --config-file ./.babel.esm.json --out-dir build/mjs --out-file-extension .mjs --source-maps",
"build:cjs": "babel build/esm --config-file ./.babel.cjs.json --out-dir build/cjs --out-file-extension .js --source-maps",
"build:pack": "yarn build && yarn concurrently \"yarn build:cjs\" \"yarn build:mjs\" && yarn ts-node scripts/pack.ts",
"generate:schemables": "yarn ts-node scripts/generate-schemables.ts",
"generate:schemata": "yarn generate:schemables && yarn ts-node scripts/generate-schemata.ts",
"spelling": "yarn cspell \"**\"",
"prerelease": "yarn clean && yarn build:pack",
"release": "yarn ts-node scripts/config.ts && cd dist && npm publish",
"docs": "yarn run docs-ts",
"docs:pack": "yarn ts-node -r tsconfig-paths/register scripts/docs.ts",
"docs:gen": "yarn prerelease && yarn docs:pack",
"docs:examples:check": "yarn ts-node -r tsconfig-paths/register ./examples/simple-example.ts",
"docs:examples:gen": "yarn markdown --path ./docs/simple-example.md",
"docs:examples": "yarn docs:examples:check && yarn docs:examples:gen",
"docs-toc": "yarn markdown --path ./docs/index.md",
"prepare": "husky install"
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix-type layout --fix --cache",
"prettier --write",
"jest --findRelatedTests --silent",
"yarn prerelease",
"yarn docs:pack",
"git add \"./docs/*.md\""
]
},
"peerDependencies": {
"fast-check": "^3.1.4"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.5",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-transform-modules-commonjs": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@fast-check/jest": "^1.1.0",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"babel-plugin-transform-rename-import": "^2.3.0",
"change-case": "^4.1.2",
"colorette": "^2.0.20",
"concurrently": "^7.2.2",
"cspell": "^5.5.2",
"docs-ts": "^0.8.0",
"eslint": "^8.43.0",
"eslint-import-resolver-typescript": "^3.1.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"expect-type": "^0.15.0",
"fast-check": "^3.1.4",
"glob": "^8.0.3",
"husky": "^8.0.0",
"jest": "^29.5.0",
"json-schema-library": "^7.4.4",
"lint-staged": "^13.0.3",
"markdown-magic": "^2.6.1",
"prettier": "^2.2.1",
"prettier-plugin-jsdoc": "^0.3.13",
"ts-jest": "^29.0.0",
"ts-node": "^10.8.1",
"typescript": "^5.1.0"
},
"dependencies": {
"fp-ts": "^2.9.5",
"kuvio": "^2.0.0",
"type-fest": "^4.24.0"
}
}