feat: provide usable UMD builds for all packages (#2141)

This commit is contained in:
Tony Alves
2019-03-16 15:44:29 -07:00
committed by Shawn Erquhart
parent 1d935c704d
commit 82cc7941cc
89 changed files with 1025 additions and 712 deletions

View File

@ -17,23 +17,16 @@
"develop": "npm run watch",
"build": "cross-env NODE_ENV=production webpack"
},
"dependencies": {
"uuid": "^3.3.2"
},
"devDependencies": {
"cross-env": "^5.2.0",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3"
},
"peerDependencies": {
"@emotion/core": "^10.0.9",
"@emotion/styled": "^10.0.9",
"immutable": "^3.8.2",
"lodash": "^4.17.10",
"netlify-cms-lib-util": "^2.0.0",
"netlify-cms-ui-default": "^2.0.0",
"prop-types": "^15.6.2",
"react": "^16.4.1",
"react-immutable-proptypes": "^2.1.0"
"lodash": "^4.17.11",
"netlify-cms-lib-util": "^2.1.3-beta.0",
"netlify-cms-ui-default": "^2.4.1-beta.0",
"prop-types": "^15.7.2",
"react": "^16.8.4",
"react-immutable-proptypes": "^2.1.0",
"uuid": "^3.3.2"
}
}

View File

@ -40,7 +40,7 @@ const getFolderEntries = (folder, extension) => {
.reverse();
};
export default class TestRepo {
export default class TestBackend {
constructor(config, options = {}) {
this.config = config;
this.assets = [];

View File

@ -1,2 +1,8 @@
export TestBackend from './implementation';
export AuthenticationPage from './AuthenticationPage';
import Control from './implementation';
import AuthenticationPage from './AuthenticationPage';
export const NetlifyCmsBackendTest = {
Control,
AuthenticationPage,
};
export { Control, AuthenticationPage };