Skip to content

Commit f533060

Browse files
author
Mark George
committed
Combine build steps
1 parent 55a4b55 commit f533060

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed

package-lock.json

-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
"license": "GPL-2.0-or-later",
77
"type": "module",
88
"scripts": {
9-
"build": "tsc --declaration",
9+
"build": "tsc --declaration && rollup -c",
1010
"prepare": "npm run build",
11-
"bundle": "rollup -c",
12-
"watch": "rollup -c -w",
1311
"lint": "eslint . && echo '✔ eslint ran successfully.'",
1412
"lint:fix": "eslint --fix . && echo '✔ eslint ran successfully.'",
1513
"test": "NODE_ENV=test jest --forceExit --config=tests/config/jest.config.js"
@@ -27,7 +25,6 @@
2725
"@rollup/plugin-node-resolve": "^13.3.0",
2826
"@rollup/plugin-typescript": "^8.4.0",
2927
"@types/clean-css": "^4.2.5",
30-
"@types/css-tree": "^1.0.7",
3128
"@types/node": "^18.7.12",
3229
"express": "^4.18.1",
3330
"https-browserify": "^1.0.0",

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
2-
"include": [ "src/*" ],
2+
"include": [ "src/**/*" ],
3+
"exclude": [ "node_modules/**/*" ],
34
"compilerOptions": {
45
"outDir": "./lib",
56
"target": "ES2021",

0 commit comments

Comments
 (0)