Skip to content

Commit e8a7d53

Browse files
committed
TypeScript Template (Library) [1.0.0]
1 parent 2397ca6 commit e8a7d53

11 files changed

Lines changed: 778 additions & 201 deletions

File tree

.vscode/launch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"version": "0.2.0",
66
"configurations": [
77
{
8-
"name": "ts-node (App)",
8+
"name": "ts-node (Example)",
99
"type": "node",
1010
"request": "launch",
1111
"args": [
12-
"src/index.ts"
12+
"scripts/example.ts"
1313
],
1414
"runtimeArgs": [
1515
"-r",
@@ -52,7 +52,7 @@
5252
"type": "node",
5353
"request": "launch",
5454
"name": "Launch Program",
55-
"program": "${workspaceFolder}/src/index.ts",
55+
"program": "${workspaceFolder}/scripts/example.ts",
5656
"preLaunchTask": "npm: build",
5757
"outFiles": ["${workspaceFolder}/dist/**/*.js"]
5858
},

LICENSE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2022 {{project-org}} and others
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,10 @@ To compile a production build, run `npm run lint:prod && npm run build`. The bui
2929
### Generating Docs
3030

3131
`npm run doc` and browse docs/index.html!
32+
33+
### Deploying to npm
34+
35+
1. Did you bump your version?
36+
2. `npm run publish`
37+
38+
You can test your build by running `npm run script -- pack`

examples/index.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)