-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
57 lines (57 loc) · 2 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
{
"name": "scroll-snooper",
"prettyName": "Scroll Snooper",
"codeName": "ScrollSnooper",
"version": "2.0.0",
"description": "Pure JavaScript API that goes snooping around elements while scrolling",
"homepage": "https://github.com/phucbm/scroll-snooper",
"repository": {
"type": "git",
"url": "git@github.com:phucbm/scroll-snooper"
},
"author": {
"name": "phucbm",
"url": "https://github.com/phucbm"
},
"keywords": [
"phucbm",
"javascript",
"es6"
],
"license": "MIT",
"main": "./dist/scroll-snooper.module.js",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack serve --config config/webpack.dev.js",
"dev-web": "cross-env NODE_ENV=development webpack serve --config config/webpack.dev-web.js",
"build-umd": "cross-env NODE_ENV=production webpack --config config/webpack.umd.js",
"build-module": "cross-env NODE_ENV=production webpack --config config/webpack.module.js",
"prod": "cross-env NODE_ENV=production npm run build-umd & npm run build-module",
"build": "cross-env NODE_ENV=production webpack --config config/webpack.web.js",
"publish": "cross-env NODE_ENV=production webpack --config config/webpack.umd.js & npm publish"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/preset-env": "^7.15.8",
"babel-loader": "^8.2.2",
"babel-preset-es2015": "^6.24.1",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^9.1.0",
"cross-env": "^7.0.3",
"css-loader": "^6.4.0",
"css-minimizer-webpack-plugin": "^3.1.1",
"html-loader": "^3.1.0",
"html-webpack-plugin": "^5.3.2",
"mini-css-extract-plugin": "^2.4.2",
"postcss-loader": "^6.2.0",
"postcss-preset-env": "^6.7.0",
"sass": "^1.43.5",
"sass-loader": "^12.2.0",
"style-loader": "^3.3.0",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.58.2",
"webpack-cli": "^4.9.0",
"webpack-dev-server": "^4.3.1",
"webpack-merge": "^5.8.0"
}
}