Skip to content

Commit a496cf6

Browse files
committed
Add rollup package
1 parent 12d8836 commit a496cf6

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
"name": "twig-unused-css-finder",
33
"version": "0.1.0",
44
"description": "A tool to find unused CSS in Twig templates",
5-
"main": "index.js",
5+
"main": "dist/bundle.js",
6+
"types": "dist/index.d.ts",
67
"scripts": {
7-
"start": "node index.js",
8+
"build": "rollup -c",
9+
"start": "node dist/bundle.js",
10+
"dev": "rollup -c -w",
811
"test": "echo \"Error: no test specified\" && exit 1"
912
},
1013
"keywords": ["twig", "css", "unused", "finder"],
@@ -18,7 +21,11 @@
1821
"node": ">=14.0.0"
1922
},
2023
"devDependencies": {
24+
"@rollup/plugin-commonjs": "^22.0.0",
25+
"@rollup/plugin-node-resolve": "^13.3.0",
26+
"@rollup/plugin-typescript": "^8.3.2",
2127
"@types/node": "^14.14.31",
28+
"rollup": "^2.75.0",
2229
"tslib": "^2.4.0",
2330
"typescript": "^4.2.2"
2431
},

0 commit comments

Comments
 (0)