-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 3.74 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
{
"name": "@brian-walker-toretto/watermark",
"version": "1.2.0",
"description": "canvas/svg watermark",
"main": "dist/watermark.js",
"keywords": [
"canvas",
"svg",
"react",
"vue",
"原生js",
"小程序",
"watermark",
"watermark-dom"
],
"scripts": {
"build": "npm run clear && cross-env NODE_ENV=production webpack --config ./webpack.config.js --color --progress --hide-modules",
"dev": "npm run clear && cross-env NODE_ENV=development webpack-dev-server --config ./webpack.config.js",
"clear": "rimraf ./dist",
"prettier": "prettier --check --write './**/*.{js,jsx,vue,less,css}' --config ./.prettierrc",
"eslint": "npm run prettier && npm run eslint:style && npm run eslint:script",
"eslint:script": "eslint --fix --ext .ts,.tsx,.js,.jsx ./",
"eslint:style": "stylelint --fix 'src/**/*.css' 'src/**/*.less' --syntax less",
"release": "npm run build && npm publish",
"release:beta": "npm run build && npm publish --tag=beta",
"release:patch": "npm version patch",
"release:minor": "npm version minor",
"release:major": "npm version major"
},
"repository": {
"type": "git",
"url": "githttps://github.com/BrianWalkerToretto/watermark.git"
},
"author": "https://github.com/BrianWalkerToretto",
"license": "MIT",
"bugs": {
"url": "https://github.com/BrianWalkerToretto/watermark/issues"
},
"homepage": "https://github.com/BrianWalkerToretto/watermark#readme",
"dependencies": {
"react": "^16.11.0"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.6.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-arrow-functions": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.7.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"@babel/register": "^7.6.2",
"@babel/runtime": "^7.7.2",
"@babel/runtime-corejs3": "^7.6.3",
"@hot-loader/react-dom": "^16.10.2",
"autoprefixer": "^9.7.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"core-js": "^3.4.1",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.2.0",
"eslint-plugin-vue": "^6.0.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.9",
"less": "^3.10.3",
"less-loader": "^5.0.0",
"lint-staged": "^9.4.2",
"lodash-webpack-plugin": "^0.11.5",
"postcss-loader": "^3.0.0",
"postcss-reporter": "^6.0.1",
"prettier": "^1.18.2",
"react-dom": "^16.11.0",
"react-hot-loader": "^4.12.15",
"rimraf": "^3.0.0",
"style-loader": "^1.0.0",
"stylelint": "^11.1.1",
"stylelint-config-prettier": "^6.0.0",
"stylelint-config-recommended": "^3.0.0",
"terser-webpack-plugin": "^2.3.2",
"uglifyjs-webpack-plugin": "^2.2.0",
"vue": "^2.6.10",
"vue-loader": "^15.7.1",
"vue-template-compiler": "^2.6.10",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.9.0",
"webpack-merge": "^4.2.2",
"webpack-node-externals": "^1.7.2"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"last 2 versions",
"ie >= 8",
"iOS >= 8",
"Android >= 4"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}