-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 835 Bytes
/
package.json
File metadata and controls
30 lines (30 loc) · 835 Bytes
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
{
"name": "my-cool-library",
"version": "0.0.0",
"files": ["./lib/dist"],
"main": "./lib/dist/my-cool-library.umd.js",
"module": "./lib/dist/my-cool-library.es.js",
"exports": {
".": {
"import": "./lib/dist/my-cool-library.es.js",
"require": "./lib/dist/my-cool-library.umd.js"
}
},
"imports": {
"#lib": "./lib/index.js"
},
"scripts": {
"build:lib": "rollup --config lib/rollup.config.js",
"build:web": "webpack --mode=production --config web/webpack.config.js",
"dev": "webpack serve --mode=development --config web/webpack.config.js"
},
"devDependencies": {
"css-loader": "^6.7.1",
"html-webpack-plugin": "^5.5.0",
"rollup": "2.75.6",
"style-loader": "^3.3.1",
"webpack": "^5.73.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.2"
}
}