Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
game-cli-build-process-scilla
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
game-cli-build-process-scilla
Commits
c4c30082
Commit
c4c30082
authored
Mar 11, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加自动识别paths配置
parent
ea6ed3bb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
3005 deletions
+42
-3005
gulpfile.js
dev-config/gulpfile.js
+9
-1
gulp-init.js
gulp-init.js
+1
-1
package-lock.json
package-lock.json
+0
-3000
yarn.lock
yarn.lock
+32
-3
No files found.
dev-config/gulpfile.js
View file @
c4c30082
...
...
@@ -84,11 +84,19 @@ gulp.task('compileTs', async function () {
reserved
:
[
umdName
,
'startup'
,
'userAgent'
],
}
}));
plugins
.
push
(
replace
({
'DEBUG'
:
JSON
.
stringify
(
false
),
'RELEASE'
:
JSON
.
stringify
(
true
),
})
)
}
else
{
plugins
.
push
(
replace
({
'process.env.NODE_ENV'
:
JSON
.
stringify
(
'development'
),
'process.env.VUE_ENV'
:
JSON
.
stringify
(
'browser'
)
'process.env.VUE_ENV'
:
JSON
.
stringify
(
'browser'
),
'DEBUG'
:
JSON
.
stringify
(
true
),
'RELEASE'
:
JSON
.
stringify
(
false
),
})
)
}
...
...
gulp-init.js
View file @
c4c30082
...
...
@@ -8,7 +8,7 @@ const {loadGulpFile, startGulpTask, setTsConfig} = require('./gulp-helper');
const
gulpFile
=
path
.
resolve
(
__dirname
,
'dev-config'
,
'gulpfile.js'
);
loadGulpFile
(
gulpFile
);
const
{
manifest
:
{
name
}
}
=
require
(
path
.
resolve
(
'./package.json'
));
const
{
name
}
=
require
(
path
.
resolve
(
'./package.json'
));
exports
.
runGulp
=
function
(
task
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
package-lock.json
deleted
100644 → 0
View file @
ea6ed3bb
This source diff could not be displayed because it is too large. You can
view the blob
instead.
yarn.lock
View file @
c4c30082
...
...
@@ -189,7 +189,7 @@ body@^5.1.0:
raw-body "~1.1.0"
safe-json-parse "~1.0.1"
brace-expansion@^1.0.0:
brace-expansion@^1.0.0
, brace-expansion@^1.1.7
:
version "1.1.11"
resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
...
...
@@ -471,6 +471,11 @@ estree-walker@^0.5.2:
resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-0.5.2.tgz#d3850be7529c9580d815600b53126515e146dd39"
integrity sha512-XpCnW/AE10ws/kDAs37cngSkvgIR8aN3G0MS85m7dUpuK2EREo9VJ00uvw6Dg/hXEpfsE1I1TvJOJr+Z+TL+ig==
estree-walker@^0.6.0:
version "0.6.0"
resolved "http://registry.npm.taobao.org/estree-walker/download/estree-walker-0.6.0.tgz#5d865327c44a618dde5699f763891ae31f257dae"
integrity sha1-XYZTJ8RKYY3eVpn3Y4ka4x8lfa4=
esutils@^2.0.2:
version "2.0.2"
resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b"
...
...
@@ -1409,7 +1414,7 @@ micromatch@^2.3.11:
parse-glob "^3.0.4"
regex-cache "^0.4.2"
micromatch@^3.0.4:
micromatch@^3.0.4
, micromatch@^3.1.10
:
version "3.1.10"
resolved "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==
...
...
@@ -1435,6 +1440,13 @@ minimatch@^2.0.1:
dependencies:
brace-expansion "^1.0.0"
minimatch@^3.0.2:
version "3.0.4"
resolved "http://registry.npm.taobao.org/minimatch/download/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
integrity sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=
dependencies:
brace-expansion "^1.1.7"
minimatch@~0.2.11:
version "0.2.14"
resolved "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz#c74e780574f63c6f9a090e90efbe6ef53a6a756a"
...
...
@@ -1836,6 +1848,15 @@ rollup-plugin-node-resolve@^3.4.0:
is-module "^1.0.0"
resolve "^1.1.6"
rollup-plugin-replace@^2.1.0:
version "2.1.0"
resolved "http://registry.npm.taobao.org/rollup-plugin-replace/download/rollup-plugin-replace-2.1.0.tgz#f9c07a4a89a2f8be912ee54b3f0f68d91e9ed0ae"
integrity sha1-+cB6Somi+L6RLuVLPw9o2R6e0K4=
dependencies:
magic-string "^0.25.1"
minimatch "^3.0.2"
rollup-pluginutils "^2.0.1"
rollup-plugin-typescript2@^0.18.0:
version "0.18.0"
resolved "https://registry.npmjs.org/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.18.0.tgz#ab3f7003f47c3858810d516e4d3fada546bfb1df"
...
...
@@ -1864,6 +1885,14 @@ rollup-pluginutils@2.3.3, rollup-pluginutils@^2.3.3:
estree-walker "^0.5.2"
micromatch "^2.3.11"
rollup-pluginutils@^2.0.1:
version "2.4.1"
resolved "http://registry.npm.taobao.org/rollup-pluginutils/download/rollup-pluginutils-2.4.1.tgz#de43ab54965bbf47843599a7f3adceb723de38db"
integrity sha1-3kOrVJZbv0eENZmn863OtyPeONs=
dependencies:
estree-walker "^0.6.0"
micromatch "^3.1.10"
rollup@^0.66.6:
version "0.66.6"
resolved "https://registry.npmjs.org/rollup/-/rollup-0.66.6.tgz#ce7d6185beb7acea644ce220c25e71ae03275482"
...
...
@@ -2152,7 +2181,7 @@ to-regex@^3.0.1, to-regex@^3.0.2:
regex-not "^1.0.2"
safe-regex "^1.1.0"
tslib@1.9.3:
tslib@1.9.3
, tslib@^1.9.3
:
version "1.9.3"
resolved "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment