Skip to content

Commit

Permalink
♻️ move package.json customization
Browse files Browse the repository at this point in the history
  • Loading branch information
dudeofawesome committed Nov 30, 2023
1 parent 3187c9b commit 760be4b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 50 deletions.
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,19 @@
"name": "@paciolan/cybersource-sdk",
"description": "CyberSource REST API Typescript SDK",
"version": "0.3.2",
"author": "Paciolan",
"homepage": "https://github.com/Paciolan/cybersource-sdk/blob/main/README.md",
"repository": {
"type": "git",
"url": "https://github.com/Paciolan/cybersource-sdk"
},
"keywords": [
"cybersource"
],
"license": "Apache-2.0",
"files": [
"dist/"
],
"license": "Cybersource",
"dependencies": {
"axios": "^1.4.0",
"jwt-simple": "^0.5.6",
Expand Down
35 changes: 0 additions & 35 deletions template/package.mustache

This file was deleted.

14 changes: 0 additions & 14 deletions template/template.patch
Original file line number Diff line number Diff line change
Expand Up @@ -277,20 +277,6 @@ index 999d88df..3d451772 100644
+/*.ts
+/git_push.sh
+.gitignore
diff --git a/src/main/resources/handlebars/typescript-axios/package.mustache b/src/main/resources/handlebars/typescript-axios/package.mustache
index 6c6114eb..92edf6bc 100644
--- a/src/main/resources/handlebars/typescript-axios/package.mustache
+++ b/src/main/resources/handlebars/typescript-axios/package.mustache
@@ -13,6 +13,9 @@
"license": "Unlicense",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
+ "files": [
+ "dist/"
+ ],
"scripts": {
"build": "tsc --outDir dist/",
"prepublishOnly": "npm run build"
diff --git a/src/main/resources/handlebars/typescript-axios/tsconfig.mustache b/src/main/resources/handlebars/typescript-axios/tsconfig.mustache
index c4a4cc77..9a2ea934 100644
--- a/src/main/resources/handlebars/typescript-axios/tsconfig.mustache
Expand Down

0 comments on commit 760be4b

Please sign in to comment.