forked from ianstormtaylor/superstruct
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 3.16 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
{
"name": "superstruct",
"type": "module",
"description": "A simple and composable way to validate data in JavaScript (and TypeScript).",
"version": "0.13.3",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/superstruct.git",
"source": "./src/index.ts",
"types": "./lib/index.d.ts",
"main": "./lib/index.cjs",
"module": "./lib/index.es.js",
"exports": {
"import": "./lib/index.es.js",
"require": "./lib/index.cjs"
},
"sideEffects": false,
"files": [
"umd",
"lib"
],
"devDependencies": {
"@babel/cli": "^7.6.3",
"@babel/core": "^7.6.3",
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
"@babel/preset-env": "^7.6.3",
"@babel/preset-typescript": "^7.6.0",
"@babel/register": "^7.6.2",
"@types/lodash": "^4.14.144",
"@types/mocha": "^8.0.3",
"@types/node": "^14.0.6",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"babel-eslint": "^10.0.3",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"is-email": "^1.0.0",
"is-url": "^1.2.4",
"is-uuid": "^1.0.2",
"lodash": "^4.17.15",
"mocha": "^8.0.1",
"np": "^7.0.0",
"prettier": "^2.0.5",
"rollup": "^2.12.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^1.2.24",
"typescript": "^4.1.2"
},
"scripts": {
"build": "yarn build:types && yarn build:es && yarn build:cjs && yarn build:max && yarn build:min",
"build:cjs": "rollup --config ./config/rollup-cjs.js",
"build:es": "rollup --config ./config/rollup.js",
"build:max": "rollup --config ./config/rollup-umd.js",
"build:min": "rollup --config ./config/rollup-umd-min.js",
"build:types": "tsc --emitDeclarationOnly --declarationMap --outDir ./lib",
"clean": "rm -rf ./{lib,umd,node_modules}",
"fix": "yarn fix:eslint && yarn fix:prettier",
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "yarn lint:prettier --write",
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint:eslint": "eslint '{src,test}/*.{js,ts}'",
"lint:prettier": "prettier --list-different '**/*.{js,json,ts}'",
"release": "yarn build && yarn lint && np",
"test": "yarn build:types && yarn test:types && yarn build:cjs && yarn test:mocha",
"test:mocha": "mocha --require ./test/register.cjs --require source-map-support/register ./test/index.ts",
"test:types": "tsc --noEmit && tsc --project ./test/tsconfig.json --noEmit",
"watch": "yarn build:cjs --watch",
"watch:types": "yarn build:types --watch"
},
"keywords": [
"api",
"array",
"assert",
"cast",
"check",
"checker",
"collection",
"data",
"error",
"express",
"hapi",
"interface",
"invalid",
"joi",
"json",
"list",
"model",
"object",
"orm",
"scalar",
"schema",
"struct",
"throw",
"type",
"types",
"valid",
"validate",
"validation",
"validator"
]
}