Skip to content

Commit

Permalink
Change .gitignore .npignore package.json and tsconfig.js for NPM pack…
Browse files Browse the repository at this point in the history
…age publishing
  • Loading branch information
janmerhar committed Jul 5, 2022
1 parent 2539d29 commit 7d23af7
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ _TS
# ignoring other compiled files
*.csv
*.txt
*.exe
*.exe

# ignoring compiled TS files in dist folder
dist
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# tests for TypeScript files
test
Empty file modified bin/manipulator.ts
100644 → 100755
Empty file.
20 changes: 12 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"scripts": {
"build": "tsc",
"compile": "tsc -w"
},
"bin": {
"manipulator": "./dist/bin/manipulator.js"
},
"dependencies": {
"commander": "^7.0.0",
"csv-stringify": "^5.6.1",
Expand All @@ -12,21 +16,21 @@
"@types/node": "^14.14.27",
"highlight.js": "^11.1.0"
},
"name": "LaTeX_manipulator",
"name": "txmanipulator",
"description": "",
"version": "2.3.0",
"main": "manipulator.js",
"version": "3.0.0",
"main": "./dist/txmanipulator.js",
"repository": {
"type": "git",
"url": "git+https://github.com/janmerhar/LaTeX_manipulator.git"
"url": "git+https://github.com/janmerhar/txmanipulator.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"author": "Jan Merhar",
"license": "",
"bugs": {
"url": "https://github.com/janmerhar/LaTeX_manipulator/issues"
"url": "https://github.com/janmerhar/txmanipulator/issues"
},
"homepage": "https://github.com/janmerhar/LaTeX_manipulator#readme",
"homepage": "https://github.com/janmerhar/txmanipulator#readme",
"nodemonConfig": {
"ignore": [
"*.csv",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
// "outDir": "./", /* Redirect output structure to the directory. */
"outDir": "./dist", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
Expand Down

0 comments on commit 7d23af7

Please sign in to comment.