This repository has been archived by the owner on Nov 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 2.99 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
{
"name": "megadraft-imagine-plugin",
"version": "0.0.9",
"description": "megadraft imagine plugin",
"main": "lib/plugin.js",
"dependencies": {
"draft-js": "0.11.4",
"megadraft": "^0.6.16",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-popover": "^0.5.10",
"react-textarea-autosize": "^7.1.2"
},
"devDependencies": {
"babel-cli": "^6.6.5",
"babel-core": "^6.6.0",
"babel-eslint": "^6.0.0",
"babel-jest": "^23.0.1",
"babel-loader": "^7.1.4",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"es6-shim": "^0.35.0",
"eslint": "^5.0.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-jest": "^21.17.0",
"eslint-plugin-prettier": "^2.6.1",
"eslint-plugin-react": "^4.2.3",
"eslint-watch": "^4.0.0",
"estraverse-fb": "^1.3.1",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.0",
"gulp-sass": "^4.0.1",
"husky": "^0.14.3",
"jest": "^23.1.0",
"jsdom": "^8.3.1",
"lint-staged": "^7.2.0",
"prettier": "^1.13.6",
"rimraf": "^2.5.2",
"webpack": "^3.5.5",
"webpack-dev-server": "^3.1.11"
},
"peerDependencies": {
"draft-js": "0.11.4"
},
"scripts": {
"start": "gulp dev-server",
"test": "jest --env=jsdom",
"test:watch": "jest --watchAll --env=jsdom",
"build:css": "gulp sass",
"build:lib": "babel src/ -d lib/",
"build:dist": "rimraf dist && webpack --config webpack.config.dist.js --optimize-minimize",
"build": "npm run build:lib && npm run build:dist && npm run build:css",
"coverage": "jest --env=jsdom --coverage --no-cache",
"prepublish": "npm run build",
"lint": "eslint src tests",
"lint:watch": "esw -w src tests",
"watch": "babel -d lib/ src/ --watch",
"precommit": "lint-staged"
},
"lint-staged": {
"linters": {
"*.js": [
"prettier --write",
"git add"
]
},
"ignore": [
"**/dist/**/*.js",
"**/lib/**/*.js"
]
},
"repository": {
"type": "git",
"url": ""
},
"files": [
"dist",
"lib"
],
"keywords": [
"megadraft",
"editor",
"react",
"draftjs"
],
"author": {
"author": "Milan Vlach",
"email": "[email protected]",
"url": "[email protected]"
},
"resolutions": {
"graceful-fs": "4.2.3"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/vlachmilan/megadraft-imagine-plugin/issues"
},
"homepage": "https://github.com/vlachmilan/megadraft-imagine-plugin",
"jest": {
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest"
},
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"testMatch": [
"**/tests/**/*_test.js"
],
"setupFiles": [
"<rootDir>/tests/helpers/setup.js"
],
"testPathIgnorePatterns": [
"<rootDir>[/\\\\](dist|lib|node_modules)[/\\\\]"
]
}
}