@beincomm/draft-js-plugins-list
Version:
Better lists for Draft.js
132 lines (131 loc) • 3.2 kB
JSON
{
"name": "@beincomm/draft-js-plugins-list",
"version": "1.0.4",
"description": "Better lists for Draft.js",
"keywords": [
"react",
"draft-js",
"draft-js-plugin",
"plugin",
"editor",
"list",
"auto-list",
"nested-list"
],
"author": {
"name": "Samuel Meuli",
"email": "me@samuelmeuli.com",
"url": "https://samuelmeuli.com"
},
"repository": "github:tuhuynh99323/draft-js-list-plugin",
"license": "MIT",
"files": [
"./dist/"
],
"main": "./dist/index.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"scripts": {
"start": "NODE_ENV=development npm-run-all build:ts --parallel start:*",
"start:ts": "rollup --config --sourcemap --watch",
"start:serve": "serve ./demo/public/ --listen 3000",
"build": "NODE_ENV=production run-s build:*",
"build:clean": "rm -rf ./dist/",
"build:ts": "rollup --config",
"test": "tsc --noEmit",
"lint:css": "stylelint --fix --max-warnings 0",
"lint:ts": "eslint --ext .ts,.tsx --fix --max-warnings 0",
"format": "prettier --write",
"version": "yarn build",
"release": "np",
"prerelease": "yarn build"
},
"dependencies": {},
"peerDependencies": {
"@draft-js-plugins/editor": "4.1.2",
"@types/draft-js": "0.11.9",
"@types/react": "17.0.38",
"draft-js": "0.11.7",
"react": "17.0.2"
},
"devDependencies": {
"@draft-js-plugins/editor": "4.1.2",
"@samuelmeuli/eslint-config": "^6.0.0",
"@samuelmeuli/prettier-config": "1.0.0",
"@samuelmeuli/stylelint-config": "3.0.0",
"@samuelmeuli/tsconfig": "1.0.0",
"@types/draft-js": "0.11.9",
"@types/react": "16.9.23",
"@types/react-dom": "16.9.5",
"@typescript-eslint/eslint-plugin": "2.21.0",
"@typescript-eslint/parser": "2.21.0",
"draft-js": "0.11.7",
"eslint": "6.8.0",
"eslint-config-airbnb": "18.0.1",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.18.3",
"eslint-plugin-react-hooks": "1.7.0",
"husky": "4.2.3",
"lint-staged": "10.0.8",
"np": "6.2.0",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"react": "16.13.0",
"react-dom": "16.13.0",
"rollup": "1.31.1",
"rollup-plugin-commonjs": "10.0.2",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-postcss": "2.1.1",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.26.0",
"serve": "11.3.0",
"stylelint": "13.2.0",
"typescript": "3.8.2"
},
"eslintConfig": {
"root": true,
"extends": "@samuelmeuli/eslint-config/typescript-react",
"env": {
"browser": true,
"node": true
},
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"./demo/**/*.*",
"./rollup.config.js"
]
}
]
}
},
"stylelint": {
"extends": "@samuelmeuli/stylelint-config"
},
"prettier": "@samuelmeuli/prettier-config",
"lint-staged": {
"*.{ts,tsx}": [
"yarn lint:ts",
"yarn format"
],
"*.{css,sass,scss}": [
"yarn lint:css",
"yarn format"
],
"*.{html,js,json,jsx,md,vue,yaml,yml}": [
"yarn format"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn test && lint-staged"
}
},
"publishConfig": {
"access": "public"
}
}