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": {
|
2018-07-17 18:09:59 -04:00
|
|
|
"bootstrap": "lerna bootstrap && lerna link --force-local",
|
2018-07-17 19:13:52 -04:00
|
|
|
"start": "npm run bootstrap && npm run watch",
|
2018-07-17 18:09:59 -04:00
|
|
|
"watch": "lerna run watch --parallel",
|
2018-07-17 19:13:52 -04:00
|
|
|
"build": "npm run clean && cross-env NODE_ENV=production lerna run build",
|
|
|
|
"clean": "rimraf packages/*/dist",
|
|
|
|
"reset": "npm run clean && lerna clean --yes"
|
2018-07-06 18:56:28 -04:00
|
|
|
},
|
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": {
|
2018-07-23 12:30:15 -04:00
|
|
|
"@babel/cli": "^7.0.0-beta.54",
|
|
|
|
"@babel/core": "^7.0.0-beta.54",
|
2018-07-17 19:13:52 -04:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.54",
|
|
|
|
"@babel/plugin-proposal-export-default-from": "^7.0.0-beta.54",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.54",
|
|
|
|
"@babel/preset-env": "^7.0.0-beta.54",
|
|
|
|
"@babel/preset-react": "^7.0.0-beta.54",
|
2017-09-14 01:08:43 +02:00
|
|
|
"all-contributors-cli": "^4.4.0",
|
2018-07-23 12:30:15 -04:00
|
|
|
"babel-loader": "^8.0.0-beta",
|
2018-07-06 18:56:28 -04:00
|
|
|
"babel-plugin-emotion": "^9.2.4",
|
2018-07-17 11:37:17 -04:00
|
|
|
"babel-plugin-lodash": "^3.3.4",
|
2017-12-08 09:53:28 -07:00
|
|
|
"babel-plugin-module-resolver": "^3.0.0",
|
2018-07-17 11:37:17 -04:00
|
|
|
"babel-plugin-transform-builtin-extend": "^1.1.2",
|
|
|
|
"babel-plugin-transform-export-extensions": "^6.22.0",
|
2018-07-03 15:47:15 -04:00
|
|
|
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
|
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-07-23 12:30:15 -04:00
|
|
|
"friendly-errors-webpack-plugin": "^1.7.0",
|
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-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-17 19:13:52 -04:00
|
|
|
"rimraf": "^2.6.2",
|
2018-07-23 12:30:15 -04:00
|
|
|
"style-loader": "^0.21.0",
|
|
|
|
"svg-inline-loader": "^0.8.0"
|
2016-05-30 16:55:32 -07:00
|
|
|
},
|
2018-07-03 15:47:15 -04:00
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
2018-07-23 12:30:15 -04:00
|
|
|
"private": true
|
2016-02-25 00:45:56 -08:00
|
|
|
}
|