-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
54 lines (54 loc) · 1.84 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
47
48
49
50
51
52
53
54
{
"name": "evee",
"version": "3.0.1",
"description": "The lightweight ES6 event library.",
"main": "dist/esm/index.js",
"type": "module",
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run build:browser",
"build:esm": "npx babel lib/evee.js --out-file dist/esm/index.js --env-name=esm && npx terser dist/esm/index.js --compress --source-map \"url='index.min.js.map'\" --module -o dist/esm/index.min.js",
"build:cjs": "npx babel lib/evee.js --out-file dist/cjs/index.js --env-name=cjs && npx terser dist/cjs/index.js --compress --source-map \"url='index.min.js.map'\" -o dist/cjs/index.min.js",
"build:browser": "npx babel lib/evee.js --out-file dist/browser/index.js --env-name=browser && npx terser dist/browser/index.js --compress --source-map \"url='index.min.js.map'\" -o dist/browser/index.min.js",
"test": "npx mocha test.js",
"bench": "node benchmark.js",
"test-dev": "npm run build && npm run test",
"bench-dev": "npm run build && npm run bench",
"prepublish": "npm run build"
},
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"files": [
"lib",
"dist",
"README.md",
"LICENSE.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/SplittyDev/evee.js.git"
},
"keywords": [
"event",
"events",
"dispatch",
"subscribe",
"async"
],
"author": "Marco Quinten <splittydev@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/SplittyDev/evee.js/issues"
},
"homepage": "https://github.com/SplittyDev/evee.js",
"devDependencies": {
"@babel/cli": "^7.24.6",
"@babel/core": "^7.24.6",
"@babel/plugin-transform-modules-commonjs": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"benchmark": "^2.1.4",
"mocha": "^10.4.0",
"terser": "^5.31.0"
}
}