Created
March 8, 2018 03:48
-
-
Save ccnokes/d3c3c5b6eda3ebddd82595c2116cbb40 to your computer and use it in GitHub Desktop.
Sample package.json for a TS lib that's published to NPM
This file contains 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": "my-ts-lib", | |
"version": "1.0.0", | |
"description": "My npm package written in TS", | |
"main": "dist/index.js", | |
"types": "dist/index.d.ts", | |
"scripts": { | |
"build": "tsc" | |
}, | |
"author": "Cameron Nokes", | |
"license": "MIT", | |
"devDependencies": { | |
"typescript": "^2.7.2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment