Skip to content

Instantly share code, notes, and snippets.

@ccnokes
Created March 8, 2018 03:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ccnokes/d3c3c5b6eda3ebddd82595c2116cbb40 to your computer and use it in GitHub Desktop.
Save ccnokes/d3c3c5b6eda3ebddd82595c2116cbb40 to your computer and use it in GitHub Desktop.
Sample package.json for a TS lib that's published to NPM
{
"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