0d7f653adf
Windows command prompts set and use enviroment variables differently than POSIX terminals. `cross-env` is a wrapper that allow the commands to run with the same effect on Windows as well. It will not affect any POSIX terminal (including Bash on Windows).
172 lines
5.3 KiB
JSON
172 lines
5.3 KiB
JSON
{
|
|
"name": "netlify-cms",
|
|
"version": "0.4.4",
|
|
"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",
|
|
"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",
|
|
"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"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"netlify",
|
|
"cms",
|
|
"content editing",
|
|
"static site generators",
|
|
"jamstack"
|
|
],
|
|
"author": "Netlify",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"babel": "^6.5.2",
|
|
"babel-cli": "^6.18.0",
|
|
"babel-core": "^6.5.1",
|
|
"babel-jest": "^20.0.3",
|
|
"babel-loader": "^7.0.0",
|
|
"babel-plugin-lodash": "^3.2.0",
|
|
"babel-preset-es2015": "^6.5.0",
|
|
"babel-preset-react": "^6.5.0",
|
|
"babel-preset-stage-1": "^6.16.0",
|
|
"babel-runtime": "^6.5.0",
|
|
"cross-env": "^5.0.2",
|
|
"css-loader": "^0.28.4",
|
|
"enzyme": "^2.4.1",
|
|
"eslint": "^3.7.1",
|
|
"eslint-config-netlify": "github:netlify/eslint-config-netlify",
|
|
"exports-loader": "^0.6.3",
|
|
"extract-text-webpack-plugin": "^2.1.2",
|
|
"file-loader": "^0.11.2",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"imports-loader": "^0.7.1",
|
|
"jest": "^20.0.4",
|
|
"jest-cli": "^20.0.4",
|
|
"lint-staged": "^3.1.0",
|
|
"node-sass": "^3.10.0",
|
|
"npm-check": "^5.2.3",
|
|
"postcss-cssnext": "^2.7.0",
|
|
"postcss-import": "^10.0.0",
|
|
"postcss-loader": "^2.0.5",
|
|
"react-addons-test-utils": "^15.3.2",
|
|
"sass-loader": "^6.0.5",
|
|
"style-loader": "^0.18.2",
|
|
"stylefmt": "^4.3.1",
|
|
"stylelint": "^7.3.1",
|
|
"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": "^2.6.1",
|
|
"webpack-dev-server": "^2.4.5",
|
|
"webpack-merge": "^4.1.0",
|
|
"webpack-postcss-tools": "^1.1.1"
|
|
},
|
|
"dependencies": {
|
|
"@kadira/storybook": "^1.36.0",
|
|
"autoprefixer": "^6.3.3",
|
|
"babel-plugin-transform-builtin-extend": "^1.1.0",
|
|
"classnames": "^2.2.5",
|
|
"dateformat": "^1.0.12",
|
|
"deep-equal": "^1.0.1",
|
|
"fuzzy": "^0.1.1",
|
|
"history": "^2.1.2",
|
|
"immutability-helper": "^2.0.0",
|
|
"immutable": "^3.7.6",
|
|
"js-base64": "^2.1.9",
|
|
"js-yaml": "^3.7.0",
|
|
"json-loader": "^0.5.4",
|
|
"jwt-decode": "^2.1.0",
|
|
"localforage": "^1.4.2",
|
|
"lodash": "^4.13.1",
|
|
"markup-it": "^2.0.0",
|
|
"material-design-icons": "^3.0.1",
|
|
"moment": "^2.11.2",
|
|
"netlify-auth-js": "^0.5.5",
|
|
"normalize.css": "^4.2.0",
|
|
"preliminaries": "1.1.0",
|
|
"preliminaries-parser-toml": "1.1.0",
|
|
"preliminaries-parser-yaml": "1.1.0",
|
|
"prismjs": "^1.5.1",
|
|
"prosemirror-commands": "^0.16.0",
|
|
"prosemirror-history": "^0.16.0",
|
|
"prosemirror-inputrules": "^0.16.0",
|
|
"prosemirror-keymap": "^0.16.0",
|
|
"prosemirror-markdown": "^0.16.0",
|
|
"prosemirror-model": "^0.16.0",
|
|
"prosemirror-schema-basic": "^0.16.0",
|
|
"prosemirror-schema-list": "^0.16.0",
|
|
"prosemirror-schema-table": "^0.16.0",
|
|
"prosemirror-state": "^0.16.0",
|
|
"prosemirror-transform": "^0.16.0",
|
|
"prosemirror-view": "^0.16.0",
|
|
"react": "^15.1.0",
|
|
"react-addons-css-transition-group": "^15.3.1",
|
|
"react-autosuggest": "^7.0.1",
|
|
"react-datetime": "^2.6.0",
|
|
"react-dom": "^15.1.0",
|
|
"react-frame-component": "^1.0.3",
|
|
"react-hot-loader": "^3.0.0-beta.7",
|
|
"react-immutable-proptypes": "^2.1.0",
|
|
"react-lazy-load": "^3.0.3",
|
|
"react-portal": "^2.2.1",
|
|
"react-pure-render": "^1.0.2",
|
|
"react-redux": "^4.4.0",
|
|
"react-router": "^2.5.1",
|
|
"react-router-redux": "^4.0.5",
|
|
"react-sidebar": "^2.2.1",
|
|
"react-simple-dnd": "^0.1.2",
|
|
"react-sortable": "^1.2.0",
|
|
"react-split-pane": "^0.1.57",
|
|
"react-textarea-autosize": "^4.3.2",
|
|
"react-toolbox": "^1.2.1",
|
|
"react-topbar-progress-indicator": "^1.0.0",
|
|
"react-waypoint": "^3.1.3",
|
|
"redux": "^3.3.1",
|
|
"redux-notifications": "^2.1.1",
|
|
"redux-optimist": "^0.0.2",
|
|
"redux-thunk": "^1.0.3",
|
|
"selection-position": "^1.0.0",
|
|
"semaphore": "^1.0.5",
|
|
"slate": "^0.14.14",
|
|
"slate-drop-or-paste-images": "^0.2.0",
|
|
"slug": "^0.9.1",
|
|
"textarea-caret-position": "^0.1.1",
|
|
"uuid": "^2.0.3",
|
|
"whatwg-fetch": "^1.0.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"fsevents": "^1.0.14"
|
|
}
|
|
}
|