Skip to content

Commit 6479a2a

Browse files
Merge pull request OnsenUI#14 from OnsenUI/dev_monaca_3_support
vuejs-templates#609: support monaca-cli 3
2 parents c404898 + 115d91a commit 6479a2a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

template/.monaca/project_info.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"framework_version": "3.5",
3+
"cordova_version": "7.1",
4+
"xcode_version": "9"
5+
}

template/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"start": "npm run dev",
1010
"build": "node build/build.js",
1111
"build:watch": "cross-env WEBPACK_WATCH=true node build/build.js"{{#unit}},
12+
"monaca:preview": "npm run dev & npm run build:watch",
13+
"monaca:transpile": "npm run build",
14+
"monaca:debug": "npm run build:watch",
1215
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run"{{/unit}}{{#e2e}},
1316
"e2e": "node test/e2e/runner.js"{{/e2e}}{{#if_or unit e2e}},
1417
"test": "{{#unit}}npm run unit{{/unit}}{{#unit}}{{#e2e}} && {{/e2e}}{{/unit}}{{#e2e}}npm run e2e{{/e2e}}"{{/if_or}}{{#lint}},

0 commit comments

Comments
 (0)