Skip to content

Commit b26d85a

Browse files
committed
fix: correct issue with relese
1 parent dc41656 commit b26d85a

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

.eslintignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.github
22
test/resource/**/*
3-
dist
4-
types
3+
lib
54
coverage
65
jest.config.js

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,4 @@ jspm_packages/
6565
*.ipr
6666

6767
# Project specific
68-
types/
69-
dist/
68+
lib/

.prettierignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
test/resource/**/*
2-
dist
3-
types
2+
lib
43
coverage
54
coverage.xml
65
*.snap

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"version": "1.1.6",
44
"description": "Freemarker Parser is a javascript implementation of the Freemarker",
55
"scripts": {
6-
"build": "tsc",
6+
"build": "tsc -b",
77
"test": "jest --coverage",
88
"format": "prettier --write \"./**/*.{ts,js,json,md}\"",
99
"format-check": "prettier --list-different \"./**/*.{ts,js,json,md}\"",
1010
"lint": "eslint . --ext .js,.ts",
1111
"lint-fix": "eslint . --ext .js,.ts --fix",
12-
"watch": "tsc --watch"
12+
"watch": "tsc -b --watch"
1313
},
14-
"main": "dist/index.js",
14+
"main": "lib/index.js",
1515
"files": [
16-
"dist"
16+
"lib"
1717
],
1818
"repository": {
1919
"type": "git",

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"sourceMap": true,
1717
"strict": true,
1818
"target": "es2017",
19-
"lib": ["es2017"]
19+
"lib": ["es2017"],
20+
"rootDir": "./src",
21+
"outDir": "./lib"
2022
},
2123
"include": ["src/**/*.ts"]
2224
}

0 commit comments

Comments
 (0)