-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.22 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
{
"name": "@codewithkyle/notifyjs",
"version": "4.1.0",
"description": "A simple JavaScript library for creating toast, snackbars, and notifications",
"type": "module",
"files": [
"dist/*"
],
"types": "dist/types.d.ts",
"exports": {
"./snackbar.js": "./dist/snackbar.js",
"./notifications.js": "./dist/notifications.js",
"./toaster.js": "./dist/toaster.js"
},
"scripts": {
"cleanup": "node ./build/cleanup.js",
"build": "tsc && esbuild ./src/snackbar.ts ./src/notifications.ts ./src/toaster.ts --format=esm --minify --bundle --outdir=dist",
"prerelease": "npm run cleanup && npm run build && cp ./src/types.d.ts ./dist/types.d.ts",
"test": "npm run build && cp -r ./dist ./test/ && serve ./test",
"deploy": "npm run build && cp -r ./dist ./test/ && node ./build/deploy.js"
},
"keywords": [
"snackbar",
"notification",
"toaster",
"toast",
"web-components",
"lightweight"
],
"author": "Kyle Andrews",
"license": "MIT",
"devDependencies": {
"esbuild": "^0.17.14",
"gh-pages": "^5.0.0",
"serve": "^14.2.0",
"typescript": "^4.2.3"
}
}