Skip to content

Instantly share code, notes, and snippets.

@sergebat
Created January 31, 2018 12:36
Show Gist options
  • Save sergebat/9e664e366005a16127b59037bfe33a98 to your computer and use it in GitHub Desktop.
Save sergebat/9e664e366005a16127b59037bfe33a98 to your computer and use it in GitHub Desktop.
Minimal TS project
{
"name": "test",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@types/lodash": {
"version": "4.14.98",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.98.tgz",
"integrity": "sha512-nVCBlQnsTw+769CM5Xt3jR/UAje48DLqEVQVtPLOILOR2AhCmZJ+LEefmbLVspm9U8YhNnT4afAtDsnIZpLogw=="
},
"@types/lodash-es": {
"version": "4.17.0",
"resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.0.tgz",
"integrity": "sha512-h8lkWQSgT4qjs9PcIhcL2nWubZeXRVzjZxYlRFmcX9BW1PIk5qRc0djtRWZqtM+GDDFhwBt0ztRu72D/YxIcEw==",
"requires": {
"@types/lodash": "4.14.98"
}
},
"lodash-es": {
"version": "4.17.4",
"resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.4.tgz",
"integrity": "sha1-3MHXVS4VCgZABzupyzHXDwMpUOc="
}
}
}
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"@types/lodash-es": "^4.17.0",
"lodash-es": "^4.17.4"
}
}
{
"compilerOptions": {
"allowJs": true,
"baseUrl": ".",
"target": "es5",
"experimentalDecorators": true,
"lib": [
"dom",
"es5",
"es2015.promise"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment