forked from MichaelYick/mailpoet
185 lines
6.5 KiB
JSON
185 lines
6.5 KiB
JSON
{
|
|
"private": true,
|
|
"name": "MailPoet3",
|
|
"engines": {
|
|
"npm": "^8.1"
|
|
},
|
|
"browserslist": [
|
|
"extends @wordpress/browserslist-config"
|
|
],
|
|
"scripts": {
|
|
"lint": "npm run lint6 && npm run lint-ts && npm run lint5 && npm run lint-tests",
|
|
"lint6": "eslint -c .eslintrc.es6.json --max-warnings 0 'assets/js/src/**/*.jsx' 'tests/javascript/**/*.js'",
|
|
"lint-ts": "eslint -c .eslintrc.ts.json --max-warnings 0 'assets/js/src/**/*.tsx' 'assets/js/src/**/*.ts'",
|
|
"lint5": "eslint -c .eslintrc.es5.json --max-warnings 0 'assets/js/src/**/*.js' 'webpack.config.js'",
|
|
"lint-tests": "eslint -c .eslintrc.tests_newsletter_editor.json --max-warnings 0 'tests/javascript_newsletter_editor'",
|
|
"autoprefixer": "postcss assets/dist/css/*.css --use autoprefixer --no-map --replace",
|
|
"scss": "sass assets/css/src/:assets/dist/css/ --style compressed",
|
|
"stylelint": "stylelint --fix",
|
|
"stylelint-check": "stylelint",
|
|
"test": "env NODE_PATH=$NODE_PATH:./assets/js/src mocha --require tests/javascript/babel_register.js tests/javascript/**/*.spec.js",
|
|
"check-types": "tsc --noEmit",
|
|
"storybook": "start-storybook -s ./ -p 8083",
|
|
"build-storybook": "build-storybook",
|
|
"postinstall": "./tasks/npm_post_install.sh",
|
|
"prepare": "husky install"
|
|
},
|
|
"lint-staged": {
|
|
"*.{scss,css}": "npm run stylelint",
|
|
"!(*spec).js": "eslint -c .eslintrc.es5.json --max-warnings 0",
|
|
"*.jsx": "eslint -c .eslintrc.es6.json --max-warnings 0",
|
|
"*.{tsx,ts}": "eslint -c .eslintrc.ts.json --max-warnings 0",
|
|
"**/newsletter_editor/**/*spec.js": "eslint -c .eslintrc.tests_newsletter_editor.json --max-warnings 0",
|
|
"*.php": [
|
|
"phplint",
|
|
"./do qa:code-sniffer"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.16.0",
|
|
"@babel/runtime-corejs3": "^7.16.0",
|
|
"@emotion/react": "^11.5.0",
|
|
"@emotion/styled": "^11.3.0",
|
|
"@wordpress/api-fetch": "^5.2.1",
|
|
"@wordpress/block-editor": "^7.0.1",
|
|
"@wordpress/block-library": "^5.0.1",
|
|
"@wordpress/blocks": "^11.0.1",
|
|
"@wordpress/components": "^16.0.0",
|
|
"@wordpress/core-data": "^4.0.1",
|
|
"@wordpress/data": "^6.0.1",
|
|
"@wordpress/edit-post": "^5.0.1",
|
|
"@wordpress/editor": "^11.0.1",
|
|
"@wordpress/element": "^4.0.0",
|
|
"@wordpress/escape-html": "^2.2.1",
|
|
"@wordpress/format-library": "^3.0.1",
|
|
"@wordpress/hooks": "^3.2.0",
|
|
"@wordpress/html-entities": "^3.2.1",
|
|
"@wordpress/i18n": "^4.2.1",
|
|
"@wordpress/icons": "^5.0.1",
|
|
"@wordpress/keyboard-shortcuts": "^3.0.1",
|
|
"@wordpress/keycodes": "^3.2.1",
|
|
"@wordpress/media-utils": "^3.0.0",
|
|
"@wordpress/notices": "^3.2.2",
|
|
"@wordpress/rich-text": "^5.0.1",
|
|
"@wordpress/url": "^3.2.1",
|
|
"backbone": "1.3.3",
|
|
"backbone.marionette": "3.2.0",
|
|
"backbone.radio": "2.0.0",
|
|
"backbone.supermodel": "1.2.0",
|
|
"blob-tmp": "^1.0.0",
|
|
"classnames": "^2.3.1",
|
|
"codemirror": "^5.63.3",
|
|
"css": "^3.0.0",
|
|
"date-fns": "^2.25.0",
|
|
"file-saver": "^2.0.5",
|
|
"handlebars": "^4.7.7",
|
|
"history": "^4.10.1",
|
|
"html2canvas": "^1.3.2",
|
|
"interact.js": "~1.2.8",
|
|
"jquery": "^3.5.1",
|
|
"js-cookie": "^2.2.1",
|
|
"lodash": "^4.17.21",
|
|
"moment": "^2.26.0",
|
|
"mousetrap": "^1.6.5",
|
|
"papaparse": "^5.3.1",
|
|
"parsleyjs": "^2.9.2",
|
|
"postcss": "^8.3.11",
|
|
"process": "^0.11.10",
|
|
"prop-types": "^15.7.2",
|
|
"react": "^17.0.2",
|
|
"react-beautiful-dnd": "^13.1.0",
|
|
"react-datepicker": "^4.3.0",
|
|
"react-dom": "^17.0.2",
|
|
"react-html-parser": "^2.0.2",
|
|
"react-router-dom": "^5.3.0",
|
|
"react-select": "^5.1.0",
|
|
"react-string-replace": "^0.4.4",
|
|
"react-tooltip": "^4.2.21",
|
|
"satismeter-loader": "^1.1.0",
|
|
"select2": "^4.1.0-rc.0",
|
|
"setimmediate": "^1.0.5",
|
|
"slugify": "^1.4.0",
|
|
"spectrum-colorpicker": "^1.8.1",
|
|
"tinymce": "^5.10.1",
|
|
"underscore": "^1.12.1",
|
|
"velocity-animate": "^1.5.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.15.8",
|
|
"@babel/plugin-proposal-function-sent": "^7.14.5",
|
|
"@babel/plugin-proposal-throw-expressions": "^7.14.5",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
"@babel/preset-env": "^7.15.8",
|
|
"@babel/preset-react": "^7.14.5",
|
|
"@babel/preset-typescript": "^7.15.0",
|
|
"@babel/register": "^7.15.3",
|
|
"@storybook/addon-actions": "^6.4.1",
|
|
"@storybook/addon-links": "^6.4.1",
|
|
"@storybook/addon-storysource": "^6.4.1",
|
|
"@storybook/addons": "^6.4.1",
|
|
"@storybook/builder-webpack5": "^6.4.1",
|
|
"@storybook/manager-webpack5": "^6.4.1",
|
|
"@storybook/react": "^6.4.1",
|
|
"@types/lodash": "^4.14.176",
|
|
"@types/react": "^17.0.33",
|
|
"@types/react-datepicker": "^4.1.7",
|
|
"@types/react-dom": "^17.0.10",
|
|
"@types/react-router-dom": "^5.3.2",
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
"@typescript-eslint/parser": "^4.33.0",
|
|
"@wordpress/browserslist-config": "^4.0.0",
|
|
"@wordpress/dependency-extraction-webpack-plugin": "^3.2.1",
|
|
"@wordpress/scripts": "^19.0.0",
|
|
"autoprefixer": "^10.4.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-loader": "^8.2.3",
|
|
"babel-plugin-transform-commonjs": "^1.1.6",
|
|
"babel-plugin-typescript-to-proptypes": "^2.0.0",
|
|
"browserslist": "^4.16.5",
|
|
"chai": "^4.3.4",
|
|
"chai-jq": "^0.0.9",
|
|
"copy-webpack-plugin": "^9.0.1",
|
|
"core-js": "^3.18.0",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-airbnb": "^18.2.1",
|
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
"eslint-plugin-import": "^2.25.2",
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
"eslint-plugin-no-only-tests": "^2.6.0",
|
|
"eslint-plugin-react": "^7.26.1",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"exports-loader": "^3.0.0",
|
|
"expose-loader": "^3.0.0",
|
|
"grunt-cli": "^1.4.3",
|
|
"husky": "^7.0.2",
|
|
"imports-loader": "^3.0.0",
|
|
"inject-loader": "^4.0.1",
|
|
"install": "^0.13.0",
|
|
"js-yaml": "^4.1.0",
|
|
"jsdom": "^18.0.1",
|
|
"json-loader": "^0.5.7",
|
|
"lint-staged": "^11.1.2",
|
|
"mocha": "^9.1.3",
|
|
"phplint": "^2.0.5",
|
|
"postcss-cli": "^8.3.1",
|
|
"postcss-scss": "^4.0.2",
|
|
"sass": "^1.43.4",
|
|
"sinon": "^11.1.2",
|
|
"sinon-chai": "^3.7.0",
|
|
"storybook-addon-performance": "^0.16.1",
|
|
"string-replace-loader": "^3.0.3",
|
|
"stylelint": "^14.0.1",
|
|
"stylelint-order": "^5.0.0",
|
|
"stylelint-scss": "^4.0.0",
|
|
"terser-webpack-plugin": "^5.2.4",
|
|
"ts-loader": "^9.2.6",
|
|
"typescript": "^4.4.3",
|
|
"webpack": "^5.61.0",
|
|
"webpack-cli": "^4.9.1",
|
|
"webpack-manifest-plugin": "^4.0.2"
|
|
}
|
|
}
|