Skip to content

Commit 7662180

Browse files
committed
chore: publish templates to npm
1 parent 2fc50ac commit 7662180

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"files": [
77
"build/commands",
88
"build/config",
9+
"build/templates",
910
"build/src",
1011
"build/ace-manifest.json",
1112
"build/index.d.ts",
@@ -18,7 +19,7 @@
1819
"lint": "tslint --project tsconfig.json",
1920
"clean": "del build",
2021
"compile": "npm run lint && npm run clean && tsc",
21-
"build": "npm run compile && node build/index.js",
22+
"build": "npm run compile && node build/index.js && copyfiles \"templates/*\" build",
2223
"commit": "git-cz",
2324
"release": "np",
2425
"version": "npm run build"
@@ -45,6 +46,7 @@
4546
"@poppinss/dev-utils": "^1.0.1",
4647
"@types/node": "^12.12.12",
4748
"commitizen": "^4.0.3",
49+
"copyfiles": "^2.1.1",
4850
"cz-conventional-changelog": "^3.0.2",
4951
"del-cli": "^3.0.0",
5052
"doctoc": "^1.4.0",

0 commit comments

Comments
 (0)