@code_monk/falert
Version:
Funky Alerts for the desktop browser
58 lines • 1.8 kB
JSON
{
"name": "@code_monk/falert",
"version": "1.1.4",
"repository": {
"type": "git",
"url": "git@github.com:sean9999/falert.js.git"
},
"description": "Funky Alerts for the desktop browser",
"type": "module",
"sideEffects": false,
"browser": true,
"private": false,
"scripts": {
"start": "parcel src/index.html",
"build:parcel": "parcel build --target=demo",
"build:es5": "tsc --target es5 --outDir dist/es5",
"build:es6": "tsc --target es6 --outDir dist/es6",
"build:es2017": "tsc --target es2017 --outDir dist/es2017",
"build:es2021": "tsc --target es2021 --outDir dist/es2021",
"build:es2022": "tsc --target es2022 --outDir dist/es2022",
"copy-assets": "mkdir -p dist/assets/css && cp -f src/css/falert.css dist/assets/css/ && cp -rf src/sounds dist/assets",
"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",
"prepare": "npm run build:all",
"publish": "git push --tags && npm publish --access=public",
"test": "echo \"Error: no test specified\" && exit 1"
},
"files": [
"src/ts/falert.ts",
"src/css/falert.css",
"dist/**/*",
"tsconfig.json"
],
"targets": {
"demo": {
"source": "./src/index.html",
"distDir": "./dist/demo"
}
},
"main": "dist/es6/falert.js",
"types": "dist/es2021/falert.d.ts",
"module": "dist/es2021/falert.js",
"homepage": "https://github.com/sean9999/falert.js/wiki/Falert",
"browserslist": [
"last 1 chrome version",
"last 1 firefox version"
],
"staticFiles": {
"staticPath": "src/sounds",
"staticOutPath": "sounds"
},
"author": "@code_monk",
"license": "ISC",
"devDependencies": {
"parcel": "^2.4.0",
"parcel-reporter-static-files-copy": "^1.3.4",
"@parcel/transformer-typescript-tsc": "^2.4.0"
}
}