Skip to content

Commit 640ad99

Browse files
committed
preparation for automated builds
1 parent b24588f commit 640ad99

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ node_modules
33
npm-debug.log
44
*.js.map
55
test/output
6-
yarn.lock
6+
yarn.lock
7+
dist

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"build": "npx tsc",
4141
"watch": "npx tsc -w",
4242
"test-only": "npx webpack --config test/config/webpack.config.js",
43-
"test": "npm run test"
43+
"test": "npm run test-only"
4444
},
4545
"author": {
4646
"name": "Timofey Kachalov"

push-build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ git config --global user.email "[email protected]"
44
git config --global user.name "Travis CI"
55

66
git checkout -b master
7+
sed -i '/dist/d' .gitignore
78
git add dist/*
89
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
910

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"removeComments": true,
1010
"esModuleInterop": true,
1111
"strict": true,
12-
"declaration": true
12+
"declaration": true,
13+
"outDir": "./dist"
1314
}
1415
}

0 commit comments

Comments
 (0)