static-cms/package.json
Caleb c58e2eeb5c Use babel-preset-env instead of the yearly presets.
This allows only the transpilation needed for the supported browsers to
be done. It also allows us to use the upgrades from ES2016 and ES2017
without needing to add a seperate preset.
2017-10-19 13:54:31 -04:00

194 lines
5.7 KiB
JSON

{
"name": "netlify-cms",
"version": "0.5.1",
"description": "Netlify CMS lets content editors work on structured content stored in git",
"main": "dist/cms.js",
"scripts": {
"start": "webpack-dev-server -d --config webpack.dev.js",
"test": "jest --coverage",
"test:watch": "jest --watch",
"build": "cross-env NODE_ENV=production webpack --config webpack.prod.js --display-error-details",
"build:scripts": "cross-env NODE_ENV=production webpack --config webpack.cli.js",
"add-contributor": "all-contributors add",
"generate-contributors": "all-contributors generate",
"storybook": "start-storybook -p 9001",
"storybook-build": "build-storybook -o dist",
"lint": "npm run lint:js & npm run lint:css",
"lint:js": "eslint .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:css": "stylelint 'src/**/*.css'",
"lint:css:fix": "stylefmt --recursive src/",
"lint:staged": "lint-staged",
"deps": "npm-check -s",
"deps:update": "npm-check -u",
"prepublishOnly": "npm run build"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"jest --findRelatedTests",
"git add"
]
},
"files": [
"dist/",
"README.md"
],
"pre-commit": "lint:staged",
"jest": {
"moduleNameMapper": {
"^.+\\.(png|eot|woff|woff2|ttf|svg|gif)$": "<rootDir>/__mocks__/fileLoaderMock.js",
"^.+\\.s?css$": "<rootDir>/__mocks__/styleLoaderMock.js"
},
"setupFiles": [
"./setupTests.js"
],
"mapCoverage": true,
"coverageReporters": [
"lcov"
],
"collectCoverageFrom": [
"src/**/*.js"
],
"coveragePathIgnorePatterns": [
"/__tests__/"
]
},
"keywords": [
"netlify",
"cms",
"content editing",
"static site generators",
"jamstack"
],
"author": "Netlify",
"license": "MIT",
"browserslist": [
"last 2 Chrome versions",
"last 2 Opera versions",
"last 2 Firefox versions",
"last 2 Edge versions",
"last 2 Safari versions",
"last 2 iOS versions",
"last 2 ChromeAndroid versions",
"IE 11",
"IE_mob 11"
],
"devDependencies": {
"all-contributors-cli": "^4.4.0",
"babel": "^6.5.2",
"babel-cli": "^6.18.0",
"babel-core": "^6.23.1",
"babel-jest": "^21.2.0",
"babel-loader": "^7.0.0",
"babel-plugin-lodash": "^3.2.0",
"babel-plugin-transform-builtin-extend": "^1.1.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.23.0",
"babel-preset-stage-1": "^6.22.0",
"babel-runtime": "^6.23.0",
"caniuse-lite": "^1.0.30000745",
"cross-env": "^5.0.2",
"css-loader": "^0.28.7",
"cssnano": "^v4.0.0-rc.2",
"deep-equal": "^1.0.1",
"enzyme": "^3.0.0",
"enzyme-adapter-react-15": "^1.0.0",
"eslint": "^3.7.1",
"eslint-config-netlify": "github:netlify/eslint-config-netlify",
"eslint-import-resolver-webpack": "^0.8.3",
"exports-loader": "^0.6.4",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^1.1.4",
"identity-obj-proxy": "^3.0.0",
"imports-loader": "^0.7.1",
"jest": "^21.2.1",
"jest-cli": "^21.2.1",
"lint-staged": "^3.3.1",
"npm-check": "^5.2.3",
"postcss-cssnext": "^3.0.2",
"postcss-import": "^11.0.0",
"postcss-loader": "^2.0.7",
"react-test-renderer": "^15.5.0",
"style-loader": "^0.18.2",
"stylefmt": "^4.3.1",
"stylelint": "^7.9.0",
"stylelint-config-css-modules": "^0.1.0",
"stylelint-config-standard": "^13.0.2",
"stylelint-declaration-block-order": "^0.1.0",
"stylelint-declaration-use-variable": "^1.6.0",
"url-loader": "^0.5.9",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.9.1",
"webpack-merge": "^4.1.0",
"webpack-postcss-tools": "^1.1.1"
},
"dependencies": {
"@kadira/storybook": "^1.36.0",
"classnames": "^2.2.5",
"create-react-class": "^15.6.0",
"fuzzy": "^0.1.1",
"gotrue-js": "^0.9.11",
"gray-matter": "^3.0.6",
"history": "^4.7.2",
"immutable": "^3.7.6",
"js-base64": "^2.1.9",
"js-yaml": "^3.10.0",
"jwt-decode": "^2.1.0",
"localforage": "^1.4.2",
"lodash": "^4.13.1",
"material-design-icons": "^3.0.1",
"mdast-util-definitions": "^1.2.2",
"mdast-util-to-string": "^1.0.4",
"moment": "^2.11.2",
"normalize.css": "^4.2.0",
"prop-types": "^15.5.10",
"react": "^15.5.0",
"react-autosuggest": "^7.0.1",
"react-datetime": "^2.6.0",
"react-dom": "^15.5.0",
"react-frame-component": "^1.0.3",
"react-hot-loader": "^3.0.0-beta.7",
"react-immutable-proptypes": "^2.1.0",
"react-redux": "^4.4.0",
"react-router-dom": "^4.2.2",
"react-router-redux": "^5.0.0-alpha.6",
"react-sidebar": "^2.2.1",
"react-simple-dnd": "^0.1.2",
"react-sortable": "^1.2.0",
"react-split-pane": "^0.1.66",
"react-toolbox": "^2.0.0-beta.12",
"react-topbar-progress-indicator": "^1.0.0",
"react-transition-group": "^2.2.1",
"react-waypoint": "^7.1.0",
"redux": "^3.3.1",
"redux-notifications": "^4.0.1",
"redux-optimist": "^0.0.2",
"redux-thunk": "^1.0.3",
"rehype-parse": "^3.1.0",
"rehype-remark": "^2.0.0",
"rehype-stringify": "^3.0.0",
"remark-parse": "^3.0.1",
"remark-rehype": "^2.0.0",
"remark-stringify": "^3.0.1",
"sanitize-filename": "^1.6.1",
"semaphore": "^1.0.5",
"slate": "^0.25.0",
"slate-edit-list": "^0.8.0",
"slate-edit-table": "^0.11.0",
"slate-plain-serializer": "^0.1.10",
"slate-react": "^0.1.10",
"slate-soft-break": "^0.4.0",
"slug": "^0.9.1",
"toml-j0.4": "^1.1.1",
"unified": "^6.1.4",
"unist-builder": "^1.0.2",
"unist-util-visit-parents": "^1.1.1",
"uuid": "^3.1.0",
"whatwg-fetch": "^1.0.0"
},
"optionalDependencies": {
"fsevents": "^1.0.14"
}
}