forked from NangoHQ/nango
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.61 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
{
"name": "pizzly-js",
"version": "0.2.8",
"description": "A JavaScript library that enables Pizzly on your website",
"main": "dist/index.js",
"module": "dist/index.min.mjs",
"types": "dist/index.d.ts",
"unpkg": "dist/index.umd.min.js",
"files": [
"dist/"
],
"scripts": {
"test": "jest",
"clean": "rimraf dist/",
"prepare": "npm run build",
"build": "npm run clean && tsc --project tsconfig.json && npm run bundle:esm && npm run bundle:esm:min && npm run bundle:umd && npm run bundle:umd:min && npm run build:stats",
"build:stats": "(echo '\\033[35;3m' ; cd dist && ls -lh index*js index*gz | tail -n +2 | awk '{print $5,$9}')",
"bundle:esm": "rollup dist/index.js --file dist/index.mjs --format esm",
"bundle:esm:min": "terser --ecma 6 --compress --mangle --module -o dist/index.min.mjs -- dist/index.mjs && gzip -9 -c dist/index.min.mjs > dist/index.min.mjs.gz",
"bundle:umd": "rollup dist/index.js --file dist/index.umd.js --format umd --name Pizzly",
"bundle:umd:min": "terser --ecma 6 --compress --mangle -o dist/index.umd.min.js -- dist/index.umd.js && gzip -9 -c dist/index.umd.min.js > dist/index.umd.min.js.gz"
},
"repository": "bearer/pizzly",
"homepage": "https://github.com/Bearer/Pizzly/tree/master/src/clients/javascript#readme",
"author": "Bearer Team <[email protected]>",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@types/jest": "^25.2.1",
"jest": "^25.5.2",
"rimraf": "^3.0.2",
"rollup": "^2.7.6",
"terser": "^4.6.13",
"ts-jest": "^25.4.0",
"typescript": "^3.8.3"
},
"jest": {
"preset": "ts-jest"
}
}