Last active
July 19, 2023 10:17
-
-
Save barisbll/a66f5ad2964f581e42359a90fee43360 to your computer and use it in GitHub Desktop.
Dummy library tsup added package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "@barisbll/dummy-lib", // We have to name every library uniquely | |
"version": "1.0.0", | |
"description": "A dummy library to make a library deployment example", | |
"main": "index.js", | |
"module": "dist/index.mjs", | |
"types": "dist/index.d.ts", | |
"files": [ | |
"/dist" | |
], | |
"scripts": { | |
"build": "tsup src/index.ts --format cjs,esm --dts", // build to different formats | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"tsup": "^7.1.0", | |
"typescript": "^5.1.6" | |
}, | |
"devDependencies": { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment