-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
59 lines (59 loc) · 1.52 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
55
56
57
58
59
{
"name": "verticalize",
"version": "0.1.3",
"description": "A pipe-like function to verticalize your JavaScript code",
"author": "Laurent Payot",
"license": "MIT",
"keywords": [
"javascript",
"light",
"lightweight",
"syntax",
"promises",
"pipeline",
"code",
"pipe",
"operator"
],
"repository": {
"type": "git",
"url": "git+https://github.com/laurentpayot/verticalize.git"
},
"bugs": {
"url": "https://github.com/laurentpayot/verticalize/issues"
},
"homepage": "https://github.com/laurentpayot/verticalize",
"type": "module",
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./verticalize.js"
},
"require": {
"types": "./index.d.ts",
"default": "./verticalize.js"
}
}
},
"main": "./verticalize.js",
"types": "./index.d.ts",
"files": [
"verticalize*.js*",
"index.d.ts"
],
"engines": {
"node": ">=15.14.0"
},
"scripts": {
"build:js": "terser verticalize.js --compress module=true --mangle module=true --source-map --output verticalize.min.js",
"size": "printf '_%.0s' {1..40} && echo \"\n\nMinified brotli size:\t`brotli -Zcn verticalize.min.js | wc -c` bytes\nMinified gzip size:\t`gzip -9cn verticalize.min.js | wc -c` bytes\"",
"build": "pnpm build:js && pnpm --silent size",
"test": "node tests",
"prepublish": "pnpm build && pnpm test && git push && git push --tags"
},
"devDependencies": {
"terser": "^5.31.0"
}
}