-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.39 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": "curved-polygon",
"version": "1.0.1",
"description": "A utility to generate path string for curved polygons in SVG",
"main": "./cjs/index.js",
"scripts": {
"build": "npm run tsc && npm run cjs && npm run rollup:es && npm run rollup:babel && npm run min",
"tsc": "tsc",
"cjs": "ascjs esm cjs",
"rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
"rollup:babel": "rollup --config rollup/babel.config.js && sed -i.bck 's/^var /self./' index.js && rm -rf index.js.bck",
"min": "terser index.js --comments='/^!/' -c -m -o min.js",
"prepare": "npm run build"
},
"keywords": [
"svg",
"polygon",
"curved",
"curved-polygon"
],
"author": "Shreshth Mohan <[email protected]> (https://shreshth.dev)",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"ascjs": "^5.0.1",
"eslint": "^8.10.0",
"rollup": "^2.70.0",
"rollup-plugin-terser": "^7.0.2",
"terser": "^5.12.0",
"typescript": "^4.6.2"
},
"module": "./esm/index.js",
"types": "./esm/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./esm/index.js",
"default": "./cjs/index.js"
},
"./package.json": "./package.json"
},
"unpkg": "min.js"
}