1 | {
|
2 | "name": "@code_monk/falert",
|
3 | "version": "1.1.4",
|
4 | "repository": {
|
5 | "type": "git",
|
6 | "url": "git@github.com:sean9999/falert.js.git"
|
7 | },
|
8 | "description": "Funky Alerts for the desktop browser",
|
9 | "type": "module",
|
10 | "sideEffects": false,
|
11 | "browser": true,
|
12 | "private": false,
|
13 | "scripts": {
|
14 | "start": "parcel src/index.html",
|
15 | "build:parcel": "parcel build --target=demo",
|
16 | "build:es5": "tsc --target es5 --outDir dist/es5",
|
17 | "build:es6": "tsc --target es6 --outDir dist/es6",
|
18 | "build:es2017": "tsc --target es2017 --outDir dist/es2017",
|
19 | "build:es2021": "tsc --target es2021 --outDir dist/es2021",
|
20 | "build:es2022": "tsc --target es2022 --outDir dist/es2022",
|
21 | "copy-assets": "mkdir -p dist/assets/css && cp -f src/css/falert.css dist/assets/css/ && cp -rf src/sounds dist/assets",
|
22 | "build:all": "npm run build:es5 && npm run build:es6 && npm run build:es2017 && npm run build:es2021 && npm run build:es2022 && npm run copy-assets",
|
23 | "prepare": "npm run build:all",
|
24 | "publish": "git push --tags && npm publish --access=public",
|
25 | "test": "echo \"Error: no test specified\" && exit 1"
|
26 | },
|
27 | "files": [
|
28 | "src/ts/falert.ts",
|
29 | "src/css/falert.css",
|
30 | "dist/**/*",
|
31 | "tsconfig.json"
|
32 | ],
|
33 | "targets": {
|
34 | "demo": {
|
35 | "source": "./src/index.html",
|
36 | "distDir": "./dist/demo"
|
37 | }
|
38 | },
|
39 | "main": "dist/es6/falert.js",
|
40 | "types": "dist/es2021/falert.d.ts",
|
41 | "module": "dist/es2021/falert.js",
|
42 | "homepage": "https://github.com/sean9999/falert.js/wiki/Falert",
|
43 | "browserslist": [
|
44 | "last 1 chrome version",
|
45 | "last 1 firefox version"
|
46 | ],
|
47 | "staticFiles": {
|
48 | "staticPath": "src/sounds",
|
49 | "staticOutPath": "sounds"
|
50 | },
|
51 | "author": "@code_monk",
|
52 | "license": "ISC",
|
53 | "devDependencies": {
|
54 | "parcel": "^2.4.0",
|
55 | "parcel-reporter-static-files-copy": "^1.3.4",
|
56 | "@parcel/transformer-typescript-tsc": "^2.4.0"
|
57 | }
|
58 | } |
\ | No newline at end of file |