Skip to content

Instantly share code, notes, and snippets.

@wmakeev
Last active November 13, 2023 06:31
Show Gist options
  • Save wmakeev/313c08aff663154272c5ab991365cef1 to your computer and use it in GitHub Desktop.
Save wmakeev/313c08aff663154272c5ab991365cef1 to your computer and use it in GitHub Desktop.
[01 - Node.js ESM] #template #esm #node
{
"name": "example",
"version": "1.0.0",
"type": "module",
"description": "",
"exports": "./src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"engines": {
"node": ">=18"
},
"prettier": {
"semi": false,
"singleQuote": true,
"quoteProps": "consistent",
"trailingComma": "none",
"arrowParens": "avoid"
},
"np": {
"yarn": false
},
"author": "Vitaliy V. Makeev",
"license": "ISC",
"devDependencies": {
"@tsconfig/node18": "^18.2.2",
"@tsconfig/strictest": "^2.0.2"
}
}
{
"extends": [
"@tsconfig/node18/tsconfig.json",
"@tsconfig/strictest/tsconfig.json"
],
"compilerOptions": {
"noEmit": true
},
"include": ["src/**/*", "test/**/*"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment