static-cms/package.json

167 lines
7.0 KiB
JSON
Raw Normal View History

2016-02-25 00:45:56 -08:00
{
2022-09-28 20:04:00 -06:00
"version": "0.0.0",
2018-07-06 18:56:28 -04:00
"scripts": {
2019-03-21 12:12:16 -04:00
"bootstrap": "lerna bootstrap",
2019-03-25 10:57:17 -07:00
"start": "run-s clean bootstrap build:esm develop",
2022-09-28 20:04:00 -06:00
"develop": "cd packages/netlify-cms-core && yarn develop",
"build": "run-s clean build:esm build:webpack",
"build:webpack": "cd packages/netlify-cms-core && yarn build",
"build:esm": "cd packages/netlify-cms-core && yarn build:esm",
feat: bundle assets with content (#2958) * fix(media_folder_relative): use collection name in unpublished entry * refactor: pass arguments as object to AssetProxy ctor * feat: support media folders per collection * feat: resolve media files path based on entry path * fix: asset public path resolving * refactor: introduce typescript for AssetProxy * refactor: code cleanup * refactor(asset-proxy): add tests,switch to typescript,extract arguments * refactor: typescript for editorialWorkflow * refactor: add typescript for media library actions * refactor: fix type error on map set * refactor: move locale selector into reducer * refactor: add typescript for entries actions * refactor: remove duplication between asset store and media lib * feat: load assets from backend using API * refactor(github): add typescript, cache media files * fix: don't load media URL if already loaded * feat: add media folder config to collection * fix: load assets from API when not in UI state * feat: load entry media files when opening media library * fix: editorial workflow draft media files bug fixes * test(unit): fix unit tests * fix: editor control losing focus * style: add eslint object-shorthand rule * test(cypress): re-record mock data * fix: fix non github backends, large media * test: uncomment only in tests * fix(backend-test): add missing displayURL property * test(e2e): add media library tests * test(e2e): enable visual testing * test(e2e): add github backend media library tests * test(e2e): add git-gateway large media tests * chore: post rebase fixes * test: fix tests * test: fix tests * test(cypress): fix tests * docs: add media_folder docs * test(e2e): add media library delete test * test(e2e): try and fix image comparison on CI * ci: reduce test machines from 9 to 8 * test: add reducers and selectors unit tests * test(e2e): disable visual regression testing for now * test: add getAsset unit tests * refactor: use Asset class component instead of hooks * build: don't inline source maps * test: add more media path tests
2019-12-18 18:16:02 +02:00
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"clean": "rimraf \"packages/*/dist\" dev-test/dist",
"clean:lerna": "lerna clean --yes",
"reset": "run-s clean clean:lerna",
"lint": "run-p -c --aggregate-output \"lint:*\"",
feat: Code Widget + Markdown Widget Internal Overhaul (#2828) * wip - upgrade to slate 0.43 * wip * wip * wip * wip * wip * wip * wip * finish list handling logic * add plugins directory * tests wip * setup testing * wip * add selection commands * finish list testing * stuff * add codemirror * abstract codemirror from slate * wip * wip * wip * wip * wip * wip * wip * wip * wip * codemirror mostly working, some bugs * upgrade to slate 46 * upgrade to slate 47 * wip * wip * progress * wip * mostly working links with surrounding marks * wip * tests passing * add test * fix formatting * update snapshots * close self closing tag in markdown html output * wip - commonmark * hold on commonmark work * all tests passing * fix e2e specs * ignore tests in esm builds * break/backspace plugins wip * finish enter/backspace spec * fix soft break handling * wip - editor component deletion * add insertion points * make insertion points invisible * fix empty mark nodes output to markdown * fix pasting * improve insertion points * add static bottom insertion point * improve click handling at insertion points * restore current table functionality * add paste support for Slate fragments * support cut/copy markdown, paste between rich/raw editor * fix copy paste * wip - paste/select bug fixing * fixed known slate issues * split plugins * fix editor toggles * force text cursor in code widget * wip - reorg plugins * finish markdown control reorg * configure plugin types * quote block adjacent handling with tests * wip * finish quote logic and tests * fix copy paste plugin migration regressions * fix force insert before node * fix trailing insertion point * remove empty headers * codemirror working properly in markdown widget * return focus to codemirror on lang select enter * fix state issues for widgets with local state * wip - vim working, just need to work out distribution * add settings pane * wip - default modes * fix deps * add programming language data * implement linguist langs in code widget * everything built in * remove old registration code, fix focus styling * fix/update linting setup * fix js lint errors * remove stylelint from format script * fix remaining linting errors * fix reducer test failures * chore: update commitlint for worktree support * chore: fix remaining tests * chore: drop unused monaco plugin * chore: remove extraneous global styles rendering * chore: fix failing tests * fix: tests * fix: quote/list nesting (tests still broken) * fix: update quote tests * chore: bring back code widget test config * fix: autofocus * fix: code blocks without the code widget * fix: code editor component state issues * fix: error * fix: add code block test, few fixes * chore: remove notes * fix: [wip] update stateful shortcodes on undo/redo * fix: support code styled links, handle unknown langs * fix: few fixes * fix: autofocus on insert, focus on all clicks * fix: linting * fix: autofocus * fix: update code block fixture * fix: remove unused cypress snapshot plugin * fix: drop node 8 test, add node 12 * fix: use lodash.flatten instead of Array.flat * fix: remove console logs
2019-12-16 12:17:37 -05:00
"lint-quiet": "run-p -c --aggregate-output \"lint:* --quiet\"",
feat: bundle assets with content (#2958) * fix(media_folder_relative): use collection name in unpublished entry * refactor: pass arguments as object to AssetProxy ctor * feat: support media folders per collection * feat: resolve media files path based on entry path * fix: asset public path resolving * refactor: introduce typescript for AssetProxy * refactor: code cleanup * refactor(asset-proxy): add tests,switch to typescript,extract arguments * refactor: typescript for editorialWorkflow * refactor: add typescript for media library actions * refactor: fix type error on map set * refactor: move locale selector into reducer * refactor: add typescript for entries actions * refactor: remove duplication between asset store and media lib * feat: load assets from backend using API * refactor(github): add typescript, cache media files * fix: don't load media URL if already loaded * feat: add media folder config to collection * fix: load assets from API when not in UI state * feat: load entry media files when opening media library * fix: editorial workflow draft media files bug fixes * test(unit): fix unit tests * fix: editor control losing focus * style: add eslint object-shorthand rule * test(cypress): re-record mock data * fix: fix non github backends, large media * test: uncomment only in tests * fix(backend-test): add missing displayURL property * test(e2e): add media library tests * test(e2e): enable visual testing * test(e2e): add github backend media library tests * test(e2e): add git-gateway large media tests * chore: post rebase fixes * test: fix tests * test: fix tests * test(cypress): fix tests * docs: add media_folder docs * test(e2e): add media library delete test * test(e2e): try and fix image comparison on CI * ci: reduce test machines from 9 to 8 * test: add reducers and selectors unit tests * test(e2e): disable visual regression testing for now * test: add getAsset unit tests * refactor: use Asset class component instead of hooks * build: don't inline source maps * test: add more media path tests
2019-12-18 18:16:02 +02:00
"lint:css": "stylelint --ignore-path .gitignore \"{packages/**/*.{css,js,jsx,ts,tsx},website/**/*.css}\"",
"lint:js": "eslint --color --ignore-path .gitignore \"{{packages,scripts,website}/**/,}*.{js,jsx,ts,tsx}\"",
"lint:format": "prettier \"{{packages,scripts,website}/**/,}*.{js,jsx,ts,tsx,css}\" --list-different",
feat: Code Widget + Markdown Widget Internal Overhaul (#2828) * wip - upgrade to slate 0.43 * wip * wip * wip * wip * wip * wip * wip * finish list handling logic * add plugins directory * tests wip * setup testing * wip * add selection commands * finish list testing * stuff * add codemirror * abstract codemirror from slate * wip * wip * wip * wip * wip * wip * wip * wip * wip * codemirror mostly working, some bugs * upgrade to slate 46 * upgrade to slate 47 * wip * wip * progress * wip * mostly working links with surrounding marks * wip * tests passing * add test * fix formatting * update snapshots * close self closing tag in markdown html output * wip - commonmark * hold on commonmark work * all tests passing * fix e2e specs * ignore tests in esm builds * break/backspace plugins wip * finish enter/backspace spec * fix soft break handling * wip - editor component deletion * add insertion points * make insertion points invisible * fix empty mark nodes output to markdown * fix pasting * improve insertion points * add static bottom insertion point * improve click handling at insertion points * restore current table functionality * add paste support for Slate fragments * support cut/copy markdown, paste between rich/raw editor * fix copy paste * wip - paste/select bug fixing * fixed known slate issues * split plugins * fix editor toggles * force text cursor in code widget * wip - reorg plugins * finish markdown control reorg * configure plugin types * quote block adjacent handling with tests * wip * finish quote logic and tests * fix copy paste plugin migration regressions * fix force insert before node * fix trailing insertion point * remove empty headers * codemirror working properly in markdown widget * return focus to codemirror on lang select enter * fix state issues for widgets with local state * wip - vim working, just need to work out distribution * add settings pane * wip - default modes * fix deps * add programming language data * implement linguist langs in code widget * everything built in * remove old registration code, fix focus styling * fix/update linting setup * fix js lint errors * remove stylelint from format script * fix remaining linting errors * fix reducer test failures * chore: update commitlint for worktree support * chore: fix remaining tests * chore: drop unused monaco plugin * chore: remove extraneous global styles rendering * chore: fix failing tests * fix: tests * fix: quote/list nesting (tests still broken) * fix: update quote tests * chore: bring back code widget test config * fix: autofocus * fix: code blocks without the code widget * fix: code editor component state issues * fix: error * fix: add code block test, few fixes * chore: remove notes * fix: [wip] update stateful shortcodes on undo/redo * fix: support code styled links, handle unknown langs * fix: few fixes * fix: autofocus on insert, focus on all clicks * fix: linting * fix: autofocus * fix: update code block fixture * fix: remove unused cypress snapshot plugin * fix: drop node 8 test, add node 12 * fix: use lodash.flatten instead of Array.flat * fix: remove console logs
2019-12-16 12:17:37 -05:00
"format": "run-s \"lint:js --fix --quiet\" \"format:prettier --write\"",
feat: bundle assets with content (#2958) * fix(media_folder_relative): use collection name in unpublished entry * refactor: pass arguments as object to AssetProxy ctor * feat: support media folders per collection * feat: resolve media files path based on entry path * fix: asset public path resolving * refactor: introduce typescript for AssetProxy * refactor: code cleanup * refactor(asset-proxy): add tests,switch to typescript,extract arguments * refactor: typescript for editorialWorkflow * refactor: add typescript for media library actions * refactor: fix type error on map set * refactor: move locale selector into reducer * refactor: add typescript for entries actions * refactor: remove duplication between asset store and media lib * feat: load assets from backend using API * refactor(github): add typescript, cache media files * fix: don't load media URL if already loaded * feat: add media folder config to collection * fix: load assets from API when not in UI state * feat: load entry media files when opening media library * fix: editorial workflow draft media files bug fixes * test(unit): fix unit tests * fix: editor control losing focus * style: add eslint object-shorthand rule * test(cypress): re-record mock data * fix: fix non github backends, large media * test: uncomment only in tests * fix(backend-test): add missing displayURL property * test(e2e): add media library tests * test(e2e): enable visual testing * test(e2e): add github backend media library tests * test(e2e): add git-gateway large media tests * chore: post rebase fixes * test: fix tests * test: fix tests * test(cypress): fix tests * docs: add media_folder docs * test(e2e): add media library delete test * test(e2e): try and fix image comparison on CI * ci: reduce test machines from 9 to 8 * test: add reducers and selectors unit tests * test(e2e): disable visual regression testing for now * test: add getAsset unit tests * refactor: use Asset class component instead of hooks * build: don't inline source maps * test: add more media path tests
2019-12-18 18:16:02 +02:00
"format:prettier": "prettier \"{{packages,scripts,website}/**/,}*.{js,jsx,ts,tsx,css}\"",
"publish": "run-s publish:before-manual-version publish:after-manual-version",
2019-03-22 12:04:35 -04:00
"publish:ci": "run-s publish:prepare \"publish:version --yes\" build publish:push-git \"publish:from-git --yes\"",
2019-03-22 10:46:12 -04:00
"publish:before-manual-version": "run-s publish:prepare publish:version",
"publish:after-manual-version": "run-s build publish:push",
"publish:prepare": "run-s bootstrap test",
"publish:version": "lerna version --no-push",
"publish:push": "run-s publish:push-git publish:from-git",
"publish:push-git": "git push --follow-tags",
2019-03-21 12:12:16 -04:00
"publish:from-git": "lerna publish from-git --pre-dist-tag beta",
"publish:dry-run": "run-s \"publish:version --no-git-tag-version\"",
2019-03-21 12:12:16 -04:00
"publish:prerelease": "run-s publish:prerelease:before-manual-version publish:after-manual-version",
2019-03-22 12:04:35 -04:00
"publish:prerelease:ci": "run-s publish:prepare \"publish:version --conventional-prerelease --yes\" build publish:push-git \"publish:from-git --yes\"",
2019-03-22 10:46:12 -04:00
"publish:prerelease:before-manual-version": "run-s publish:prepare publish:prerelease:version",
2019-03-21 16:48:05 -04:00
"publish:prerelease:version": "run-s \"publish:version --conventional-prerelease\"",
2019-03-21 17:16:57 -04:00
"publish:prerelease:dry-run": "run-s \"publish:version --conventional-prerelease --no-git-tag-version\"",
2019-03-21 12:12:16 -04:00
"publish:graduate": "run-s publish:graduate:before-manual-version publish:after-manual-version",
2019-03-22 12:04:35 -04:00
"publish:graduate:ci": "run-s publish:prepare \"publish:version --conventional-graduate --yes\" build publish:push-git \"publish:from-git --yes\"",
2019-03-22 10:46:12 -04:00
"publish:graduate:before-manual-version": "run-s publish:prepare publish:graduate:version",
2019-03-21 16:48:05 -04:00
"publish:graduate:version": "run-s \"publish:version --conventional-graduate\"",
2020-01-19 17:53:11 +02:00
"publish:graduate:dry-run": "run-s \"publish:version --conventional-graduate --no-git-tag-version\"",
2022-09-22 18:17:24 -04:00
"pack:core": "cd packages/netlify-cms-core && npm pack",
2022-09-07 12:15:43 -04:00
"pack-copy": "mv packages/**/*.tgz ./packs",
2022-09-07 13:49:40 -04:00
"pack-clear": "rm -Rf packs/*",
2022-09-07 12:15:43 -04:00
"pack-all": "run-p pack:* && npm run pack-copy",
2022-09-07 13:49:40 -04:00
"build:pack": "run-s build publish:version pack-clear pack-all"
2018-07-06 18:56:28 -04: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"
],
2016-02-25 00:45:56 -08:00
"devDependencies": {
2022-09-28 20:04:00 -06:00
"@babel/cli": "7.18.10",
"@babel/core": "7.19.1",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-export-default-from": "7.18.10",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-numeric-separator": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.18.9",
"@babel/plugin-proposal-optional-chaining": "7.18.9",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.19.1",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
2022-09-21 19:26:57 -04:00
"@emotion/eslint-plugin": "11.10.0",
2022-09-28 20:04:00 -06:00
"@octokit/rest": "16.43.2",
"@stylelint/postcss-css-in-js": "0.37.3",
"@testing-library/dom": "8.18.1",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "12.1.5",
"@types/common-tags": "1.8.0",
"@types/jest": "27.5.2",
"@types/js-base64": "3.3.1",
"@types/jwt-decode": "2.2.1",
"@types/lodash": "4.14.185",
"@types/uuid": "3.4.10",
"@typescript-eslint/eslint-plugin": "5.38.0",
"@typescript-eslint/parser": "5.38.0",
"axios": "0.26.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "11.0.0-beta.2",
"babel-jest": "27.5.1",
"babel-loader": "8.2.5",
"babel-plugin-emotion": "11.0.0",
"babel-plugin-inline-json-import": "0.3.2",
"babel-plugin-inline-react-svg": "2.0.1",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-transform-builtin-extend": "1.1.2",
"babel-plugin-transform-define": "2.0.1",
2022-09-28 20:04:00 -06:00
"babel-plugin-transform-export-extensions": "6.22.0",
"babel-plugin-transform-inline-environment-variables": "0.4.4",
"cache-me-outside": "0.0.10",
"copy-webpack-plugin": "6.4.1",
"cross-env": "7.0.3",
"css-loader": "3.6.0",
"cypress": "9.5.3",
2022-09-28 20:04:00 -06:00
"cypress-file-upload": "5.0.8",
"cypress-image-snapshot": "4.0.1",
"cypress-jest-adapter": "0.1.1",
"cypress-plugin-tab": "1.0.5",
"dotenv": "10.0.0",
"eslint": "8.24.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.31.8",
"eslint-plugin-unicorn": "41.0.1",
"execa": "5.1.1",
"friendly-errors-webpack-plugin": "1.7.0",
"fs-extra": "10.1.0",
"gitlab": "14.2.2",
"http-server": "14.1.1",
"jest": "27.5.1",
"jest-cli": "27.5.1",
"jest-emotion": "11.0.0",
"js-yaml": "4.1.0",
"mockserver-client": "5.14.0",
"mockserver-node": "5.14.0",
"ncp": "2.0.0",
"nock": "13.2.9",
"node-fetch": "2.6.7",
"npm-run-all": "4.1.5",
"postcss": "8.4.16",
"postcss-scss": "4.0.5",
"prettier": "2.7.1",
"react-test-renderer": "16.14.0",
"rehype": "7.0.0",
"rimraf": "3.0.2",
"simple-git": "3.14.1",
"start-server-and-test": "1.14.0",
"stylelint": "14.12.1",
"stylelint-config-standard-scss": "3.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.10.0",
"to-string-loader": "1.2.0",
"typescript": "3.9.10",
"unist-util-visit": "1.4.1",
"webpack": "4.46.0",
"webpack-cli": "4.10.0",
"webpack-dev-server": "3.11.3"
2016-05-30 16:55:32 -07:00
},
feat: Code Widget + Markdown Widget Internal Overhaul (#2828) * wip - upgrade to slate 0.43 * wip * wip * wip * wip * wip * wip * wip * finish list handling logic * add plugins directory * tests wip * setup testing * wip * add selection commands * finish list testing * stuff * add codemirror * abstract codemirror from slate * wip * wip * wip * wip * wip * wip * wip * wip * wip * codemirror mostly working, some bugs * upgrade to slate 46 * upgrade to slate 47 * wip * wip * progress * wip * mostly working links with surrounding marks * wip * tests passing * add test * fix formatting * update snapshots * close self closing tag in markdown html output * wip - commonmark * hold on commonmark work * all tests passing * fix e2e specs * ignore tests in esm builds * break/backspace plugins wip * finish enter/backspace spec * fix soft break handling * wip - editor component deletion * add insertion points * make insertion points invisible * fix empty mark nodes output to markdown * fix pasting * improve insertion points * add static bottom insertion point * improve click handling at insertion points * restore current table functionality * add paste support for Slate fragments * support cut/copy markdown, paste between rich/raw editor * fix copy paste * wip - paste/select bug fixing * fixed known slate issues * split plugins * fix editor toggles * force text cursor in code widget * wip - reorg plugins * finish markdown control reorg * configure plugin types * quote block adjacent handling with tests * wip * finish quote logic and tests * fix copy paste plugin migration regressions * fix force insert before node * fix trailing insertion point * remove empty headers * codemirror working properly in markdown widget * return focus to codemirror on lang select enter * fix state issues for widgets with local state * wip - vim working, just need to work out distribution * add settings pane * wip - default modes * fix deps * add programming language data * implement linguist langs in code widget * everything built in * remove old registration code, fix focus styling * fix/update linting setup * fix js lint errors * remove stylelint from format script * fix remaining linting errors * fix reducer test failures * chore: update commitlint for worktree support * chore: fix remaining tests * chore: drop unused monaco plugin * chore: remove extraneous global styles rendering * chore: fix failing tests * fix: tests * fix: quote/list nesting (tests still broken) * fix: update quote tests * chore: bring back code widget test config * fix: autofocus * fix: code blocks without the code widget * fix: code editor component state issues * fix: error * fix: add code block test, few fixes * chore: remove notes * fix: [wip] update stateful shortcodes on undo/redo * fix: support code styled links, handle unknown langs * fix: few fixes * fix: autofocus on insert, focus on all clicks * fix: linting * fix: autofocus * fix: update code block fixture * fix: remove unused cypress snapshot plugin * fix: drop node 8 test, add node 12 * fix: use lodash.flatten instead of Array.flat * fix: remove console logs
2019-12-16 12:17:37 -05:00
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"run-node"
]
},
2019-03-15 10:19:57 -04:00
"private": true,
"dependencies": {
2022-09-21 19:26:57 -04:00
"@emotion/babel-preset-css-prop": "11.10.0",
2022-09-28 20:04:00 -06:00
"eslint-config-prettier": "8.5.0",
"eslint-plugin-babel": "5.3.1",
"globby": "12.2.0",
"lerna": "4.0.0"
2019-10-27 09:32:34 +02:00
},
"resolutions": {
2022-09-28 20:04:00 -06:00
"react-redux": "8.0.4"
}
}