UNPKG

draft-js-list-plugin

Version:
147 lines (146 loc) 3.54 kB
{ "name": "draft-js-list-plugin", "version": "1.0.2", "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:samuelmeuli/draft-js-list-plugin", "homepage": "https://draft-js-list-plugin.samuelmeuli.com", "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", "format": "prettier --write", "lint:js": "eslint --ext .js,.jsx --fix --max-warnings 0", "lint:ts": "eslint --ext .ts,.tsx --fix --max-warnings 0", "lint:css": "stylelint --fix --max-warnings 0", "lint:scss": "stylelint --fix --max-warnings 0 --syntax scss", "test": "tsc --noEmit", "version": "yarn build", "release": "np" }, "dependencies": {}, "peerDependencies": { "@types/draft-js": "^0.10.0", "@types/react": "^16.0.0", "draft-js": "^0.11.0", "draft-js-plugins-editor": "^3.0.0", "react": "^16.0.0" }, "devDependencies": { "@samuelmeuli/eslint-config": "^5.0.2", "@samuelmeuli/prettier-config": "^1.0.0", "@samuelmeuli/stylelint-config": "^2.0.1", "@samuelmeuli/tsconfig": "^0.2.0", "@types/draft-js": "^0.10.37", "@types/react": "^16.9.17", "@types/react-dom": "^16.9.4", "@typescript-eslint/eslint-plugin": "^2.12.0", "@typescript-eslint/parser": "^2.12.0", "draft-js": "^0.11.3", "draft-js-plugins-editor": "^3.0.0", "eslint": "6.8.0", "eslint-config-airbnb": "18.0.1", "eslint-config-prettier": "^6.7.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.17.0", "eslint-plugin-react-hooks": "^1.7.0", "eslint-plugin-simple-import-sort": "^5.0.0", "husky": "^3.1.0", "lint-staged": "^9.5.0", "np": "^5.2.1", "npm-run-all": "^4.1.5", "prettier": "^1.19.1", "react": "^16.12.0", "react-dom": "^16.12.0", "rollup": "^1.27.14", "rollup-plugin-commonjs": "^10.0.2", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-postcss": "^2.0.3", "rollup-plugin-replace": "^2.2.0", "rollup-plugin-typescript2": "^0.25.3", "serve": "^11.2.0", "stylelint": "^11.1.1", "typescript": "^3.7.4" }, "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", "git add" ], "*.{js,jsx}": [ "yarn lint:js", "yarn format", "git add" ], "*.css": [ "yarn lint:css", "yarn format", "git add" ], "*.scss": [ "yarn lint:scss", "yarn format", "git add" ], "*.{json,md,yml}": [ "yarn format", "git add" ] }, "husky": { "hooks": { "pre-commit": "yarn test && lint-staged" } } }