Skip to content

Commit 5873bc2

Browse files
committed
0.4.0 release
1 parent 1a8606e commit 5873bc2

File tree

3 files changed

+145
-137
lines changed

3 files changed

+145
-137
lines changed

package-lock.json

Lines changed: 140 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
],
1616
"devDependencies": {
1717
"@typhonjs-plugin/manager": "^0.0.1",
18-
"@typhonjs-utils/build-test": "^0.1.0"
18+
"@typhonjs-utils/build-test": "^0.1.0",
19+
"rollup": "^2.0.0",
20+
"rollup-plugin-dts": "^3.0.0"
1921
},
2022
"engines": {
2123
"node": ">=12"
@@ -41,9 +43,9 @@
4143
"scripts": {
4244
"eslint": "eslint .",
4345
"posttest": "npm run eslint",
44-
"prepublishOnly": "npm run test",
46+
"prepublishOnly": "npm run types && npm run test",
4547
"test": "c8 --reporter=lcov --reporter=text-summary mocha -colors \"test/src/**/*.test.js\"",
4648
"test-functions": "c8 --reporter=lcov --reporter=text-summary mocha -colors \"test/src/functions/**/*.test.js\"",
47-
"types": "npx -p typescript tsc ./src/functions.js ./src/typedef.js --noResolve --declaration --allowJs --emitDeclarationOnly --outDir ./types"
49+
"types": "npx -p typescript tsc ./src/typedef.js ./src/functions.js --noResolve --declaration --allowJs --emitDeclarationOnly --outDir ./lib && rollup --config"
4850
}
4951
}

types/typedef.d.ts

Lines changed: 0 additions & 125 deletions
This file was deleted.

0 commit comments

Comments
 (0)