-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
128 lines (128 loc) · 3.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"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",
"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"
},
"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": "^6.0.0",
"@samuelmeuli/prettier-config": "^1.0.0",
"@samuelmeuli/stylelint-config": "^3.0.0",
"@samuelmeuli/tsconfig": "^1.0.0",
"@types/draft-js": "^0.10.38",
"@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.4",
"draft-js-plugins-editor": "^3.0.0",
"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"
}
}
}