Comparing version 1.4.1 to 2.0.0-alpha.1
159
package.json
{ | ||
"name": "draftail", | ||
"version": "1.4.1", | ||
"version": "2.0.0-alpha.1", | ||
"description": "📝🍸 A configurable rich text editor built with Draft.js", | ||
@@ -9,2 +9,3 @@ "author": "Springload", | ||
"module": "dist/draftail.esm.js", | ||
"types": "dist/draftail.d.ts", | ||
"keywords": [ | ||
@@ -34,7 +35,7 @@ "draftjs", | ||
"dist", | ||
"lib/**/*.scss" | ||
"src/**/*.scss" | ||
], | ||
"browserslist": [ | ||
"> 1%", | ||
"IE 11", | ||
"not IE 11", | ||
"Firefox ESR", | ||
@@ -44,88 +45,91 @@ "not OperaMini all" | ||
"dependencies": { | ||
"@tippyjs/react": "^4.2.6", | ||
"decorate-component-with-props": "^1.0.2", | ||
"downshift": "^6.1.7", | ||
"draft-js-plugins-editor": "^2.1.1", | ||
"draftjs-conductor": "^1.0.0", | ||
"draftjs-filters": "^2.2.3" | ||
"draftjs-conductor": "^3.0.0", | ||
"draftjs-filters": "^3.0.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.10.5", | ||
"@babel/preset-env": "7.10.4", | ||
"@babel/preset-flow": "7.10.4", | ||
"@babel/preset-react": "7.10.4", | ||
"@sentry/browser": "5.27.4", | ||
"@storybook/addon-storyshots": "5.3.19", | ||
"@storybook/addon-viewport": "5.3.19", | ||
"@storybook/react": "5.3.19", | ||
"@thibaudcolas/eslint-plugin-cookbook": "4.0.1", | ||
"@thibaudcolas/stylelint-config-cookbook": "2.0.1", | ||
"autoprefixer": "10.0.2", | ||
"babel-eslint": "10.0.3", | ||
"babel-jest": "24.1.0", | ||
"babel-plugin-require-context-hook": "1.0.0", | ||
"core-js": "^2.5.1", | ||
"coveralls": "3.1.0", | ||
"danger": "10.5.3", | ||
"dotenv": "8.2.0", | ||
"draft-convert": "^2.1.4", | ||
"draft-js": "0.10.5", | ||
"draft-js-emoji-plugin": "^2.1.1", | ||
"draft-js-hashtag-plugin": "^2.0.3", | ||
"draft-js-inline-toolbar-plugin": "^3.0.0", | ||
"draft-js-side-toolbar-plugin": "^3.0.1", | ||
"enzyme": "3.11.0", | ||
"enzyme-adapter-react-16": "1.15.2", | ||
"enzyme-to-json": "3.5.0", | ||
"eslint": "5.6.0", | ||
"eslint-plugin-compat": "2.5.1", | ||
"eslint-plugin-flowtype": "3.2.0", | ||
"express": "4.17.1", | ||
"flow-bin": "0.121.0", | ||
"formik": "^1.4.1", | ||
"immutable": "~3.7.4", | ||
"jest": "24.1.0", | ||
"jest-axe": "3.1.1", | ||
"jest-environment-node": "24.0.0", | ||
"jest-image-snapshot": "4.2.0", | ||
"markov_draftjs": "0.1.1", | ||
"mkdirp": "0.5.1", | ||
"normalize.css": "8.0.1", | ||
"postcss-cli": "8.3.0", | ||
"postcss-loader": "4.1.0", | ||
"prettier": "2.2.0", | ||
"prismjs": "^1.8.4", | ||
"puppeteer": "1.11.0", | ||
"react": "16.14.0", | ||
"react-benchmark": "2.1.1", | ||
"react-color": "2.19.3", | ||
"react-component-benchmark": "0.0.4", | ||
"react-dom": "16.14.0", | ||
"react-intl": "^2.7.2", | ||
"react-modal": "^3.1.5", | ||
"react-test-renderer": "16.14.0", | ||
"reading-time": "^1.1.0", | ||
"rimraf": "3.0.2", | ||
"rollup": "2.33.3", | ||
"rollup-plugin-babel": "4.4.0", | ||
"sass": "1.29.0", | ||
"sass-loader": "10.1.0", | ||
"stats-js": "^1.0.0", | ||
"storybook-addon-intl": "2.4.1", | ||
"style-loader": "2.0.0", | ||
"stylelint": "9.6.0", | ||
"webpack-bundle-analyzer": "4.1.0" | ||
"@rollup/plugin-typescript": "^8.3.2", | ||
"@storybook/addon-storyshots": "^6.5.7", | ||
"@storybook/builder-webpack5": "^6.5.7", | ||
"@storybook/manager-webpack5": "^6.5.7", | ||
"@storybook/react": "^6.5.7", | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"@testing-library/react": "^12.1.5", | ||
"@testing-library/user-event": "^14.2.0", | ||
"@types/draft-convert": "^2.1.4", | ||
"@types/draft-js": "^0.10.45", | ||
"@types/enzyme": "^3.10.12", | ||
"@types/jest": "^28.1.1", | ||
"@types/jest-axe": "^3.5.3", | ||
"@types/prismjs": "^1.26.0", | ||
"@types/react": "^16.14.26", | ||
"@types/react-color": "^3.0.6", | ||
"@types/react-dom": "^16.9.16", | ||
"@types/react-modal": "^3.13.1", | ||
"coveralls": "^3.1.1", | ||
"draft-convert": "^2.1.12", | ||
"draft-js": "~0.10.5", | ||
"draft-js-emoji-plugin": "^2.1.3", | ||
"draft-js-hashtag-plugin": "^2.0.4", | ||
"draft-js-inline-toolbar-plugin": "^3.0.1", | ||
"draft-js-side-toolbar-plugin": "^3.0.2", | ||
"enzyme": "^3.11.0", | ||
"enzyme-adapter-react-16": "^1.15.6", | ||
"enzyme-to-json": "^3.6.2", | ||
"eslint": "^8.17.0", | ||
"eslint-config-torchbox": "^1.0.0", | ||
"express": "^4.18.1", | ||
"formik": "^1.5.8", | ||
"immutable": "~3.7.6", | ||
"jest": "^28.1.1", | ||
"jest-axe": "^6.0.0", | ||
"jest-environment-jsdom": "^28.1.1", | ||
"jest-environment-node": "^28.1.1", | ||
"jest-image-snapshot": "^5.1.0", | ||
"markov_draftjs": "^0.2.0", | ||
"mkdirp": "^1.0.4", | ||
"normalize.css": "^8.0.1", | ||
"prettier": "^2.6.2", | ||
"prismjs": "^1.28.0", | ||
"puppeteer": "^14.3.0", | ||
"react": "^16.14.0", | ||
"react-benchmark": "^5.0.0", | ||
"react-color": "^2.19.3", | ||
"react-component-benchmark": "^1.0.0", | ||
"react-dom": "^16.14.0", | ||
"react-modal": "^3.15.1", | ||
"react-test-renderer": "^16.14.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.75.6", | ||
"rollup-plugin-dts": "^4.2.2", | ||
"sass-embedded": "^1.52.2", | ||
"sass-loader": "^13.0.0", | ||
"stylelint": "^13.13.1", | ||
"stylelint-config-torchbox": "^1.0.0", | ||
"ts-jest": "^28.0.4", | ||
"typescript": "^4.7.3", | ||
"webpack-bundle-analyzer": "^4.5.0" | ||
}, | ||
"overrides": { | ||
"enzyme": { | ||
"cheerio": "1.0.0-rc.10" | ||
} | ||
}, | ||
"peerDependencies": { | ||
"draft-js": "^0.10.5", | ||
"react": "^16.0.0", | ||
"react-dom": "^16.0.0" | ||
"react": "^16.6.0", | ||
"react-dom": "^16.6.0" | ||
}, | ||
"scripts": { | ||
"start": "start-storybook -c .storybook -s public -p 9001", | ||
"start": "start-storybook -c .storybook -p 9001 --no-open --no-version-updates --no-release-notes --quiet --modern", | ||
"build:rollup": "rollup -c", | ||
"build:styles": "sass lib/index.scss | postcss --no-map > dist/draftail.css", | ||
"build:storybook": "build-storybook -c .storybook -o public/storybook --quiet", | ||
"build:styles": "sass src/index.scss > dist/draftail.css", | ||
"build:storybook": "build-storybook -c .storybook -o storybook-static --quiet --modern && mv storybook-static public/storybook", | ||
"build": "npm run build:rollup -s && npm run build:storybook -s && npm run build:styles -s", | ||
"dist": "NODE_ENV=production npm run build -s", | ||
"lint": "eslint . && flow --quiet && stylelint '**/*.scss' && prettier --check '**/?(.)*.{md,css,scss,js,json,json5,yaml,yml,html}'", | ||
"format": "prettier --write '**/?(.)*.{md,css,scss,js,json,json5,yaml,yml,html}'", | ||
"lint": "eslint --cache --ext .js,.ts,.tsx --report-unused-disable-directives . && stylelint --report-needless-disables '**/*.scss' && prettier --check '**/?(.)*.{md,css,scss,js,ts,tsx,json,json5,yaml,yml,html}'", | ||
"format": "prettier --write '**/?(.)*.{md,css,scss,js,ts,tsx,json,json5,yaml,yml,html}'", | ||
"test": "jest", | ||
@@ -143,5 +147,4 @@ "test:integration": "jest --config tests/integration/jest.config.js", | ||
"test:ci": "npm run lint -s && npm run test:coverage -s --json --runInBand && npm run dist -s && npm run test:integration -s && npm run test:performance -s", | ||
"prepublishOnly": "npm run dist -s", | ||
"prepare": "./.githooks/deploy.sh" | ||
} | ||
} |
@@ -23,3 +23,3 @@ # [Draftail](https://www.draftail.org/) [<img src="https://raw.githubusercontent.com/thibaudcolas/draftail.org/main/.github/draftail-logo.svg?sanitize=true" width="90" height="90" align="right">](https://www.draftail.org/) | ||
> This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html), and measures performance and [code coverage](https://coveralls.io/github/springload/draftail). It uses [Flow](https://flow.org/) types. We also try to follow accessibility best practices (tested with [aXe](https://www.axe-core.org/)) – please [get in touch](https://github.com/springload/draftail/issues/149#issuecomment-389476151) if you can help us do better in this area. | ||
> This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html), and measures performance and [code coverage](https://coveralls.io/github/springload/draftail). We also try to follow accessibility best practices (tested with [aXe](https://www.axe-core.org/)) – please [get in touch](https://github.com/springload/draftail/issues/149#issuecomment-389476151) if you can help us do better in this area. | ||
@@ -26,0 +26,0 @@ ## Documentation |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
252259
61
22
5282
9
1
+ Added@tippyjs/react@^4.2.6
+ Addeddownshift@^6.1.7
+ Added@babel/runtime@7.26.0(transitive)
+ Added@popperjs/core@2.11.8(transitive)
+ Added@tippyjs/react@4.2.6(transitive)
+ Addedcompute-scroll-into-view@1.0.20(transitive)
+ Addeddownshift@6.1.12(transitive)
+ Addeddraftjs-conductor@3.0.0(transitive)
+ Addeddraftjs-filters@3.0.1(transitive)
+ Addedreact-is@17.0.2(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
+ Addedtippy.js@6.3.7(transitive)
+ Addedtslib@2.8.1(transitive)
- Removeddraftjs-conductor@1.2.0(transitive)
- Removeddraftjs-filters@2.5.0(transitive)
Updateddraftjs-conductor@^3.0.0
Updateddraftjs-filters@^3.0.1