UNPKG

2.5 kBJSONView Raw
1{
2 "name": "superstruct",
3 "description": "A simple, expressive way to validate data in JavaScript.",
4 "version": "0.4.12",
5 "license": "MIT",
6 "repository": "git://github.com/ianstormtaylor/superstruct.git",
7 "main": "./lib/index.js",
8 "module": "./lib/index.es.js",
9 "files": [
10 "umd",
11 "lib"
12 ],
13 "dependencies": {
14 "clone-deep": "^2.0.1",
15 "kind-of": "^6.0.1"
16 },
17 "devDependencies": {
18 "babel-cli": "^6.10.1",
19 "babel-core": "^6.26.0",
20 "babel-eslint": "^8.0.2",
21 "babel-plugin-dev-expression": "^0.2.1",
22 "babel-plugin-external-helpers": "^6.22.0",
23 "babel-plugin-transform-async-to-generator": "^6.24.1",
24 "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
25 "babel-plugin-transform-inline-environment-variables": "^0.2.0",
26 "babel-plugin-transform-object-rest-spread": "^6.26.0",
27 "babelify": "^8.0.0",
28 "browserify": "^14.5.0",
29 "envify": "^4.1.0",
30 "eslint": "^4.12.1",
31 "eslint-plugin-import": "^2.0.1",
32 "is-email": "^1.0.0",
33 "is-url": "^1.2.2",
34 "is-uuid": "^1.0.2",
35 "lodash": "^4.17.4",
36 "mocha": "^4.0.1",
37 "np": "^2.17.0",
38 "rollup": "^0.52.0",
39 "rollup-plugin-babel": "^3.0.2",
40 "rollup-plugin-commonjs": "^8.2.6",
41 "rollup-plugin-node-resolve": "^3.0.0",
42 "rollup-plugin-replace": "^2.0.0",
43 "uglifyify": "^4.0.5",
44 "watchify": "^3.7.0"
45 },
46 "scripts": {
47 "build": "yarn run build:es && yarn run build:cjs && yarn run build:max && yarn run build:min",
48 "build:cjs": "rollup --config ./config/rollup-cjs.js",
49 "build:es": "rollup --config ./config/rollup.js",
50 "build:max": "rollup --config ./config/rollup-umd.js",
51 "build:min": "NODE_ENV=production rollup --config ./config/rollup-umd-min.js | uglifyjs > ./umd/superstruct.min.js",
52 "clean": "rm -rf ./lib ./umd ./node_modules",
53 "lint": "eslint src/* test/*",
54 "prepublish": "yarn run build",
55 "release": "np",
56 "test": "yarn run build:cjs && mocha --require babel-core/register ./test/index.js",
57 "watch": "rollup --config ./config/rollup-cjs.js --watch"
58 },
59 "keywords": [
60 "api",
61 "array",
62 "assert",
63 "cast",
64 "check",
65 "checker",
66 "collection",
67 "data",
68 "error",
69 "express",
70 "hapi",
71 "interface",
72 "invalid",
73 "joi",
74 "json",
75 "list",
76 "model",
77 "object",
78 "orm",
79 "scalar",
80 "schema",
81 "struct",
82 "throw",
83 "type",
84 "types",
85 "valid",
86 "validate",
87 "validation",
88 "validator"
89 ]
90}