Skip to content

Commit 2366c51

Browse files
committed
vue files in package
1 parent 7efee80 commit 2366c51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/latex2vue/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"scripts": {
3636
"build:main": "BABEL_ENV=production babel src --out-dir main --delete-dir-on-start",
3737
"build:module": "MODULE=true babel src --out-dir module --delete-dir-on-start",
38-
"build": "npm run build:module && npm run build:main",
38+
"build": "npm run build:module && npm run build:main && npm run copy",
39+
"copy": "cp src/latex.vue main/ && cp src/latex.vue module/ && cp -r src/components main/ && cp -r src/components module/",
3940
"prepare": "npm run build",
4041
"lint": "npm run lint:js && npm run lint:style",
4142
"lint:js": "eslint src --ext .js",
@@ -78,4 +79,4 @@
7879
"latex2js-mathjax": "^2.0.0",
7980
"latex2js-pstricks": "^2.0.0"
8081
}
81-
}
82+
}

0 commit comments

Comments
 (0)