Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #35 from TrueLayer/hotfix/npm-publish-clean-up
Browse files Browse the repository at this point in the history
[hotfix] improve npm publish practices
  • Loading branch information
tl-jarvis-prestidge committed Aug 18, 2019
2 parents 71c8d6c + e8a0c62 commit 27939bf
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 33 deletions.
12 changes: 0 additions & 12 deletions .npmignore

This file was deleted.

27 changes: 17 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
{
"name": "truelayer-client",
"version": "1.2.2",
"version": "1.3.1",
"description": "The official TrueLayer API client library",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/TrueLayer/truelayer-client-javascript.git",
"author": "Jarvis Prestidge <jarvis@truelayer.com> & Raluca Lehadus <raluca@truelayer.com>",
"license": "MIT",
"scripts": {
"prepublishOnly": "npm run build",
"clean": "rm -rf dist",
"build": "npm run clean && tsc -p .",
"lint": "tslint --fix --format verbose *.ts",
"test": "npm run build && ava --verbose dist/test/**/*spec.js",
"retest": "ava --verbose dist/test/**/*spec.js",
"start": "node dist/app.js"
},
"files": [
"dist",
"README.md",
"LICENCE",
"yarn.lock",
"package.json"
],
"devDependencies": {
"@types/sinon": "^2.2.2",
"ava": "^0.19.1",
Expand All @@ -24,14 +40,5 @@
"moment": "^2.18.1",
"request": "^2.81.0",
"request-promise": "^4.2.1"
},
"scripts": {
"prepublishOnly": "npm run build",
"clean": "rm -rf dist",
"build": "npm run clean && tsc -p .",
"lint": "tslint --fix --format verbose *.ts",
"test": "npm run build && ava --verbose dist/test/**/*spec.js",
"retest": "ava --verbose dist/test/**/*spec.js",
"start": "node dist/app.js"
}
}
11 changes: 0 additions & 11 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
{
"compilerOptions": {
"target": "es6",
/* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
"module": "commonjs",
/* Specify module code generation: 'commonjs', 'amd', 'system', 'umd' or 'es2015'. */
"outDir": "dist",
/* Generates corresponding .d.ts file. */
"declaration": true,
/* Redirect output structure to the directory. */
"sourceMap": false,
/* Generates corresponding '.map' file. */
"strict": true,
/* Enable all strict type-checking options. */
"lib": ["es2017"],
/* Include the good stuff. */
},
"exclude": [
"examples",
"node_modules"
],
"include": [
"src",
"test"
Expand Down

0 comments on commit 27939bf

Please sign in to comment.