Skip to content

Commit b9f046c

Browse files
committed
[package, travis] tweak compilation
1 parent fdd2bce commit b9f046c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ node_js:
44
sudo: false
55
script:
66
- npm install
7-
- npm run prepublishOnly
7+
- npm run compile
88
deploy:
99
provider: npm
1010

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"main": "./mathjax3/mathjax.js",
99
"types": "./mathjax3/mathjax.d.ts",
1010
"scripts": {
11-
"prepublishOnly": "npx tsc"
11+
"compile": "tsc"
1212
},
1313
"dependencies": {
1414
"jsdom": "10.*",

0 commit comments

Comments
 (0)