1 | {
|
2 | "name": "superstruct",
|
3 | "description": "A simple, expressive way to validate data in JavaScript.",
|
4 | "version": "0.5.3",
|
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-config-prettier": "^2.9.0",
|
32 | "eslint-plugin-import": "^2.0.1",
|
33 | "eslint-plugin-prettier": "^2.5.0",
|
34 | "is-email": "^1.0.0",
|
35 | "is-url": "^1.2.2",
|
36 | "is-uuid": "^1.0.2",
|
37 | "lodash": "^4.17.4",
|
38 | "mocha": "^4.0.1",
|
39 | "np": "^2.17.0",
|
40 | "prettier": "^1.10.2",
|
41 | "rollup": "^0.52.0",
|
42 | "rollup-plugin-babel": "^3.0.2",
|
43 | "rollup-plugin-commonjs": "^8.2.6",
|
44 | "rollup-plugin-node-resolve": "^3.0.0",
|
45 | "rollup-plugin-replace": "^2.0.0",
|
46 | "rollup-plugin-uglify": "^2.0.1",
|
47 | "uglify-es": "^3.2.2"
|
48 | },
|
49 | "scripts": {
|
50 | "build": "yarn build:es && yarn build:cjs && yarn build:max && yarn build:min",
|
51 | "build:cjs": "rollup --config ./config/rollup-cjs.js",
|
52 | "build:es": "rollup --config ./config/rollup.js",
|
53 | "build:max": "rollup --config ./config/rollup-umd.js",
|
54 | "build:min": "rollup --config ./config/rollup-umd-min.js",
|
55 | "clean": "rm -rf ./lib ./umd ./node_modules",
|
56 | "lint": "eslint \"{src,test}/*\" && prettier --list-different \"**/*.{js,json}\"",
|
57 | "prepublish": "yarn build",
|
58 | "prettier": "prettier --write '**/*.{js,json,md}'",
|
59 | "release": "np",
|
60 | "test": "yarn build:cjs && yarn lint && mocha --require babel-core/register ./test/index.js",
|
61 | "watch": "rollup --config ./config/rollup-cjs.js --watch"
|
62 | },
|
63 | "keywords": [
|
64 | "api",
|
65 | "array",
|
66 | "assert",
|
67 | "cast",
|
68 | "check",
|
69 | "checker",
|
70 | "collection",
|
71 | "data",
|
72 | "error",
|
73 | "express",
|
74 | "hapi",
|
75 | "interface",
|
76 | "invalid",
|
77 | "joi",
|
78 | "json",
|
79 | "list",
|
80 | "model",
|
81 | "object",
|
82 | "orm",
|
83 | "scalar",
|
84 | "schema",
|
85 | "struct",
|
86 | "throw",
|
87 | "type",
|
88 | "types",
|
89 | "valid",
|
90 | "validate",
|
91 | "validation",
|
92 | "validator"
|
93 | ]
|
94 | }
|