Skip to content

Commit

Permalink
Merge pull request #6 from emyann/feat/update-project-name
Browse files Browse the repository at this point in the history
feat: update package name due to npm restrictions on title closeness
  • Loading branch information
emyann authored Feb 4, 2020
2 parents 32926d2 + c8fa57b commit 9420778
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "typescript-datastructures",
"name": "typescript-generic-datastructures",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "tsnd --respawn --transpileOnly ./src/examples/index.ts",
"start": "tsnd --respawn ./src/examples/index.ts",
"build": "TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack --mode=production",
"semantic-release": "semantic-release",
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
6 changes: 3 additions & 3 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const webpackconfiguration: webpack.Configuration = {
entry: path.resolve(__dirname, 'src', 'index.ts'),
devtool: isProd ? 'hidden-source-map' : 'source-map',
output: {
filename: 'typescript-datastructures.js',
filename: 'typescript-generic-datastructures.js',
path: path.resolve(__dirname, 'dist'),
libraryTarget: 'umd',
globalObject: 'this',
sourceMapFilename: 'typescript-datastructures.map',
library: 'typescript-datastructures'
sourceMapFilename: 'typescript-generic-datastructures.map',
library: 'typescript-generic-datastructures'
},
resolve: {
extensions: ['.ts', '.js', '.json']
Expand Down

0 comments on commit 9420778

Please sign in to comment.