UNPKG

4.06 kBJSONView Raw
1{
2 "name": "react-jsonschema-form",
3 "version": "1.0.3",
4 "description": "A simple React component capable of building HTML forms out of a JSON schema.",
5 "scripts": {
6 "build:readme": "toctoc README.md -w",
7 "build:lib": "rimraf lib && cross-env NODE_ENV=production babel -d lib/ src/",
8 "build:dist": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.config.dist.js --optimize-minimize",
9 "build:playground": "rimraf build && cross-env NODE_ENV=production webpack --config webpack.config.prod.js --optimize-minimize && cp playground/index.prod.html build/index.html",
10 "cs-check": "prettier -l $npm_package_prettierOptions '{playground,src,test}/**/*.js'",
11 "cs-format": "prettier --jsx-bracket-same-line --trailing-comma es5 --use-tabs false --semi --tab-width 2 '{playground,src,test}/**/*.js' --write",
12 "dist": "npm run build:lib && npm run build:dist",
13 "lint": "eslint src test playground",
14 "precommit": "lint-staged",
15 "publish-to-gh-pages": "npm run build:playground && gh-pages --dist build/",
16 "publish-to-npm": "npm run build:readme && npm run dist && npm publish",
17 "preversion": "npm run build:playground && npm run dist && npm run build:readme && npm run cs-check && npm run lint",
18 "start": "node devServer.js",
19 "tdd": "cross-env NODE_ENV=test mocha --compilers js:babel-register --watch --require ./test/setup-jsdom.js test/**/*_test.js",
20 "test": "cross-env NODE_ENV=test mocha --compilers js:babel-register --require ./test/setup-jsdom.js test/**/*_test.js"
21 },
22 "prettierOptions": "--jsx-bracket-same-line --trailing-comma es5 --semi --tab-width 2",
23 "lint-staged": {
24 "{playground,src,test}/**/*.js": [
25 "npm run lint",
26 "npm run cs-format",
27 "git add"
28 ]
29 },
30 "main": "lib/index.js",
31 "files": [
32 "dist",
33 "lib"
34 ],
35 "engineStrict": false,
36 "engines": {
37 "npm": "^2.14.7",
38 "node": ">=6"
39 },
40 "peerDependencies": {
41 "react": ">=15"
42 },
43 "dependencies": {
44 "ajv": "^5.2.3",
45 "lodash.topath": "^4.5.2",
46 "prop-types": "^15.5.8",
47 "setimmediate": "^1.0.5"
48 },
49 "devDependencies": {
50 "atob": "^2.0.3",
51 "babel-cli": "^6.18.0",
52 "babel-core": "^6.18.2",
53 "babel-eslint": "^7.2.3",
54 "babel-loader": "^6.2.7",
55 "babel-plugin-react-transform": "^2.0.2",
56 "babel-plugin-transform-class-properties": "^6.18.0",
57 "babel-plugin-transform-object-rest-spread": "^6.16.0",
58 "babel-preset-es2015": "^6.18.0",
59 "babel-preset-react": "^6.16.0",
60 "babel-register": "^6.18.0",
61 "chai": "^3.3.0",
62 "codemirror": "^5.30.0",
63 "cross-env": "^2.0.1",
64 "css-loader": "^0.23.1",
65 "eslint": "^4.9.0",
66 "eslint-config-react-app": "^2.0.1",
67 "eslint-plugin-flowtype": "^2.39.1",
68 "eslint-plugin-import": "^2.7.0",
69 "eslint-plugin-jsx-a11y": "^5.1.1",
70 "eslint-plugin-react": "^7.4.0",
71 "estraverse": "^4.2.0",
72 "estraverse-fb": "^1.3.1",
73 "express": "^4.14.0",
74 "extract-text-webpack-plugin": "^1.0.1",
75 "gh-pages": "^0.11.0",
76 "html": "0.0.10",
77 "husky": "^0.13.2",
78 "jsdom": "^8.3.0",
79 "json-loader": "^0.5.7",
80 "lint-staged": "^3.3.1",
81 "mocha": "^2.5.3",
82 "prettier": "^1.12.0",
83 "react": "^15.5.0",
84 "react-addons-test-utils": "^15.3.2",
85 "react-codemirror2": "^4.1.0",
86 "react-dom": "^15.3.2",
87 "react-transform-catch-errors": "^1.0.0",
88 "react-transform-hmr": "^1.0.1",
89 "redbox-react": "^1.3.3",
90 "rimraf": "^2.5.4",
91 "sinon": "^1.17.6",
92 "style-loader": "^0.13.1",
93 "toctoc": "^0.2.3",
94 "webpack": "^1.13.3",
95 "webpack-dev-middleware": "^1.8.4",
96 "webpack-hot-middleware": "^2.13.2"
97 },
98 "directories": {
99 "test": "test"
100 },
101 "repository": {
102 "type": "git",
103 "url": "git+https://github.com/mozilla-services/react-jsonschema-form.git"
104 },
105 "author": "Nicolas Perriault <nperriault@mozilla.com>",
106 "keywords": [
107 "react",
108 "form",
109 "json-schema"
110 ],
111 "license": "Apache-2.0",
112 "homepage": "https://github.com/mozilla-services/react-jsonschema-form#readme"
113}