2016-02-25 00:45:56 -08:00
|
|
|
{
|
2016-10-21 17:02:05 -07:00
|
|
|
"name": "netlify-cms",
|
2018-06-14 12:16:43 -04:00
|
|
|
"version": "2.0.0-dev",
|
2016-02-25 00:45:56 -08:00
|
|
|
"description": "Netlify CMS lets content editors work on structured content stored in git",
|
2016-11-23 12:23:45 -08:00
|
|
|
"main": "dist/cms.js",
|
2016-09-13 15:27:29 +02:00
|
|
|
"lint-staged": {
|
2016-10-05 12:34:58 +02:00
|
|
|
"*.js": [
|
2016-09-13 15:27:29 +02:00
|
|
|
"eslint --fix",
|
2016-10-07 16:44:33 +02:00
|
|
|
"jest --findRelatedTests",
|
2016-09-13 15:27:29 +02:00
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2016-11-17 04:08:37 -08:00
|
|
|
"files": [
|
2018-03-28 09:13:16 -06:00
|
|
|
"src/",
|
|
|
|
"dist/"
|
2016-11-17 04:08:37 -08:00
|
|
|
],
|
2016-09-13 15:27:29 +02:00
|
|
|
"pre-commit": "lint:staged",
|
2018-07-06 18:56:28 -04:00
|
|
|
"scripts": {
|
|
|
|
"start": "lerna run --parallel watch",
|
|
|
|
"clean": "cd packages && rimraf */.cache */*.js */*.css */*.svg */*.map",
|
|
|
|
"reset": "yarn clean && lerna clean --yes && lerna bootstrap && cd packages/netlify-cms-core && yarn link netlify-cms-lib-auth netlify-cms-lib-util netlify-cms-ui-default react-split-pane"
|
|
|
|
},
|
2016-10-12 14:32:53 +02:00
|
|
|
"jest": {
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"^.+\\.(png|eot|woff|woff2|ttf|svg|gif)$": "<rootDir>/__mocks__/fileLoaderMock.js",
|
2016-11-11 12:08:20 +01:00
|
|
|
"^.+\\.s?css$": "<rootDir>/__mocks__/styleLoaderMock.js"
|
2017-09-20 15:23:40 -04:00
|
|
|
},
|
2017-10-01 15:41:52 -06:00
|
|
|
"setupFiles": [
|
|
|
|
"./setupTests.js"
|
|
|
|
],
|
2017-10-02 11:17:51 -04:00
|
|
|
"coverageReporters": [
|
|
|
|
"lcov"
|
|
|
|
],
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*.js"
|
|
|
|
],
|
|
|
|
"coveragePathIgnorePatterns": [
|
|
|
|
"/__tests__/"
|
|
|
|
]
|
2016-10-12 14:32:53 +02:00
|
|
|
},
|
2016-02-25 00:45:56 -08:00
|
|
|
"keywords": [
|
|
|
|
"netlify",
|
2016-11-11 17:28:56 -08:00
|
|
|
"cms",
|
|
|
|
"content editing",
|
|
|
|
"static site generators",
|
|
|
|
"jamstack"
|
2016-02-25 00:45:56 -08:00
|
|
|
],
|
|
|
|
"author": "Netlify",
|
|
|
|
"license": "MIT",
|
2017-10-13 16:47:50 -06:00
|
|
|
"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",
|
2017-10-16 12:29:45 -07:00
|
|
|
"last 2 ChromeAndroid versions"
|
2017-10-13 16:47:50 -06:00
|
|
|
],
|
2016-02-25 00:45:56 -08:00
|
|
|
"devDependencies": {
|
2017-09-14 01:08:43 +02:00
|
|
|
"all-contributors-cli": "^4.4.0",
|
2018-07-06 18:56:28 -04:00
|
|
|
"babel-plugin-emotion": "^9.2.4",
|
2018-07-03 15:47:15 -04:00
|
|
|
"babel-plugin-inline-import": "^3.0.0",
|
|
|
|
"babel-plugin-inline-svg": "^1.0.0",
|
2017-12-08 09:53:28 -07:00
|
|
|
"babel-plugin-module-resolver": "^3.0.0",
|
2018-07-06 18:56:28 -04:00
|
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
2018-07-03 15:47:15 -04:00
|
|
|
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
|
2018-07-06 18:56:28 -04:00
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
2018-02-21 16:03:15 -07:00
|
|
|
"babel-preset-env": "^1.6.0",
|
2017-03-01 11:07:49 -08:00
|
|
|
"babel-preset-react": "^6.23.0",
|
2018-05-15 16:37:59 -06:00
|
|
|
"cross-env": "^5.1.4",
|
2017-09-20 16:03:56 -06:00
|
|
|
"deep-equal": "^1.0.1",
|
2017-10-23 12:03:01 -06:00
|
|
|
"enzyme": "^3.1.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.0.2",
|
2018-02-28 15:45:16 -05:00
|
|
|
"jest": "^22.0.0",
|
|
|
|
"jest-cli": "^22.0.0",
|
2018-07-03 15:47:15 -04:00
|
|
|
"lerna": "^2.11.0",
|
2017-10-13 16:47:50 -06:00
|
|
|
"postcss-cssnext": "^3.0.2",
|
|
|
|
"postcss-import": "^11.0.0",
|
2018-05-15 16:37:59 -06:00
|
|
|
"postcss-loader": "^2.1.3",
|
2017-11-11 17:46:38 -07:00
|
|
|
"raf": "^3.4.0",
|
2017-08-14 09:00:47 -04:00
|
|
|
"react-test-renderer": "^16.0.0",
|
2018-07-06 18:56:28 -04:00
|
|
|
"rimraf": "^2.6.2"
|
2016-05-30 16:55:32 -07:00
|
|
|
},
|
2018-07-03 15:47:15 -04:00
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
|
|
|
"private": true
|
2016-02-25 00:45:56 -08:00
|
|
|
}
|