-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.77 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
{
"name": "super-simple-signal",
"version": "0.4.1",
"description": "A super simple signal implementation in TypeScript for the browser.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "tsc -w",
"build-dev": "rm -rf ./dist/* && tsc && rollup ./dist/tmp/index.js --file ./dist/index.js --format iife --name SuperSimpleSignal --sourcemap && rm -rf ./dist/tmp",
"build": "rm -rf ./dist/* && tsc && rollup ./dist/tmp/index.js --file ./dist/index.js --format iife --name SuperSimpleSignal --compact && rm -rf ./dist/tmp && terser --compress --mangle -o ./dist/index.js -- ./dist/index.js",
"release:common": "npm run build && git push --follow-tags origin main && npm publish --access public",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common"
},
"keywords": [
"signal",
"typescript",
"browser",
"node",
"event",
"event emitter",
"event dispatcher",
"event bus",
"event system",
"event manager",
"event handler",
"event listener",
"event binding"
],
"author": "Michael Di Prisco <cadienvan@gmail.com>",
"repository": {
"type": "git",
"url": "git://github.com/Cadienvan/super-simple-signal.git"
},
"license": "MIT",
"devDependencies": {
"generate-changelog": "^1.8.0",
"rollup": "^4.9.1",
"terser": "^5.26.0",
"typescript": "^5.3.3"
}
}