Skip to content

Updated typescript library template #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
e22d3c4
standard formatting, preparing for next changes
bbottema Jun 3, 2017
34b34f9
compressed the comments to two lines to get a better sense of howlarg…
bbottema Jun 3, 2017
fc25f63
updated to Webpack 2.4.1
bbottema Jun 3, 2017
ab2986a
'minimize' should be 'compress'. Removed trailing comma.
bbottema Jun 3, 2017
f3d5356
updated to TypeScript 2.3.1
bbottema Jun 3, 2017
1f2ae70
Dependencies are devDependencies! They are not needed by library user…
bbottema Jun 3, 2017
e7b0ac7
updated index.ts to actually reflect how a library would be exported …
bbottema Jun 3, 2017
c4e4c66
As an example, I've added momentjs as *optional* 3rd party dependency…
bbottema Jun 3, 2017
b1dc671
simplified build (paths) and removed unnecessary absolute path resolver
bbottema Jun 3, 2017
b62f555
removed trailing comma
bbottema Jun 3, 2017
3fbf573
made naming consistent and cleared to library users
bbottema Jun 3, 2017
87e2322
index.js doesn't exist in the root, point to commonjs index.js as def…
bbottema Jun 3, 2017
313208c
added MIT license file under your name (in package json it says it's …
bbottema Jun 3, 2017
58ac77d
Added TypeScript support for meta data (to support annotations). Some…
bbottema Jun 3, 2017
e3b4ad4
update package version
bbottema Jun 3, 2017
dbc12fd
updated, author, contributor and git repo entries
bbottema Jun 3, 2017
a0d2dde
type
bbottema Jun 3, 2017
6b14052
added link to the blog explaining this repo setup
bbottema Jun 3, 2017
77a2b72
typo: disy-esmodule -> dist-esmodule
bbottema Oct 19, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Dependencies are devDependencies! They are not needed by library user…
…s (used for building the distribution)
  • Loading branch information
bbottema committed Jun 3, 2017
commit 1f2ae707b814f2690eb433491e24df1d1db457e8
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"clean": "shx rm -rf _bundles lib lib-esm",
"build": "npm run clean && tsc && tsc -m es6 --outDir lib-esm && webpack"
},
"dependencies": {
"devDependencies": {
"awesome-typescript-loader": "^3.0.4-rc.2",
"shx": "^0.2.2",
"typescript": "2.3.1",
Expand Down