88 lines
2.7 KiB
JSON
88 lines
2.7 KiB
JSON
{
|
|
"name": "jsoneditor",
|
|
"version": "6.0.0-BETA",
|
|
"main": "./index.js",
|
|
"description": "A web-based tool to view, edit, format, and validate JSON",
|
|
"tags": [
|
|
"json",
|
|
"editor",
|
|
"viewer",
|
|
"formatter"
|
|
],
|
|
"author": "Jos de Jong <wjosdejong@gmail.com>",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/josdejong/jsoneditor",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/josdejong/jsoneditor.git"
|
|
},
|
|
"bugs": "https://github.com/josdejong/jsoneditor/issues",
|
|
"private": false,
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome": "1.1.8",
|
|
"@fortawesome/fontawesome-free-solid": "5.0.13",
|
|
"ajv": "6.12.2",
|
|
"brace": "0.11.1",
|
|
"javascript-natural-sort": "0.7.1",
|
|
"jest": "24.9.0",
|
|
"lodash": "4.17.15",
|
|
"mitt": "1.2.0",
|
|
"prop-types": "15.7.2",
|
|
"react-hammerjs": "1.0.1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "6.26.0",
|
|
"babel-plugin-external-helpers": "6.22.0",
|
|
"babel-plugin-transform-class-properties": "6.24.1",
|
|
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
|
"babel-plugin-transform-react-jsx": "6.24.1",
|
|
"babel-preset-env": "1.7.0",
|
|
"console.table": "0.10.0",
|
|
"cpy-cli": "3.1.1",
|
|
"css-loader": "3.5.3",
|
|
"npm-run-all": "4.1.5",
|
|
"node-sass-chokidar": "1.4.0",
|
|
"preact": "10.4.4",
|
|
"preact-compat": "3.19.0",
|
|
"react": "16.13.1",
|
|
"react-dom": "16.13.1",
|
|
"react-scripts": "3.4.1",
|
|
"rollup": "2.12.1",
|
|
"rollup-plugin-babel": "4.4.0",
|
|
"rollup-plugin-commonjs": "10.1.0",
|
|
"rollup-plugin-node-resolve": "5.2.0",
|
|
"rollup-plugin-postcss": "3.1.1",
|
|
"svg-url-loader": "6.0.0"
|
|
},
|
|
"scripts": {
|
|
"start": "npm-run-all -p watch-css start-js",
|
|
"build-css": "node-sass-chokidar src/ -o src/",
|
|
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
|
|
"start-js": "react-scripts start",
|
|
"build-js": "react-scripts build",
|
|
"copy-css-lib": "cpy '**/*.css' '**/*.svg' '../../lib' --cwd='src/jsoneditor' --parents",
|
|
"build-js-lib": "babel src/jsoneditor --out-dir lib --ignore spec.js,test.js",
|
|
"build-js-bundle": "webpack --config ./config/webpack.config.js",
|
|
"build-js-minimalist": "webpack --config ./config/webpack.config.minimalist.js",
|
|
"build": "npm-run-all build-css copy-css-lib build-js-lib build-js-bundle build-js-minimalist",
|
|
"test": "react-scripts test --env=jsdom",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|