90 lines
2.4 KiB
JSON
90 lines
2.4 KiB
JSON
{
|
|
"name": "netlify-cms",
|
|
"version": "2.0.0-dev",
|
|
"description": "Netlify CMS lets content editors work on structured content stored in git",
|
|
"main": "dist/cms.js",
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"jest --findRelatedTests",
|
|
"git add"
|
|
]
|
|
},
|
|
"files": [
|
|
"src/",
|
|
"dist/"
|
|
],
|
|
"pre-commit": "lint:staged",
|
|
"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"
|
|
},
|
|
"jest": {
|
|
"moduleNameMapper": {
|
|
"^.+\\.(png|eot|woff|woff2|ttf|svg|gif)$": "<rootDir>/__mocks__/fileLoaderMock.js",
|
|
"^.+\\.s?css$": "<rootDir>/__mocks__/styleLoaderMock.js"
|
|
},
|
|
"setupFiles": [
|
|
"./setupTests.js"
|
|
],
|
|
"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"
|
|
],
|
|
"devDependencies": {
|
|
"all-contributors-cli": "^4.4.0",
|
|
"babel-plugin-emotion": "^9.2.4",
|
|
"babel-plugin-inline-import": "^3.0.0",
|
|
"babel-plugin-inline-svg": "^1.0.0",
|
|
"babel-plugin-module-resolver": "^3.0.0",
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-preset-env": "^1.6.0",
|
|
"babel-preset-react": "^6.23.0",
|
|
"cross-env": "^5.1.4",
|
|
"deep-equal": "^1.0.1",
|
|
"enzyme": "^3.1.0",
|
|
"enzyme-adapter-react-16": "^1.0.2",
|
|
"jest": "^22.0.0",
|
|
"jest-cli": "^22.0.0",
|
|
"lerna": "^2.11.0",
|
|
"postcss-cssnext": "^3.0.2",
|
|
"postcss-import": "^11.0.0",
|
|
"postcss-loader": "^2.1.3",
|
|
"raf": "^3.4.0",
|
|
"react-test-renderer": "^16.0.0",
|
|
"rimraf": "^2.6.2"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"private": true
|
|
}
|