Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
BeebuddyUtil
/
dma-common-backend
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a71f3090
authored
Oct 15, 2020
by
Beebuddy Builder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test add dist
1 parent
be070477
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
69 additions
and
2 deletions
.gitignore
dist/.babelrc
dist/package.json
dist/src/index.js
.gitignore
View file @
a71f309
node_modules
\ No newline at end of file
dist
\ No newline at end of file
dist/.babelrc
0 → 100644
View file @
a71f309
{
"presets": ["@babel/preset-env"],
"plugins": ["@babel/plugin-proposal-optional-chaining"]
}
\ No newline at end of file
dist/package.json
0 → 100644
View file @
a71f309
{
"name"
:
"dma-common-backend"
,
"version"
:
"1.0.0"
,
"description"
:
""
,
"main"
:
"index.js"
,
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
"build"
:
"babel src -D -d dist/src && babel ./.babelrc -D -d dist && babel ./package.json -D -d dist && echo '
\n
🍺 'Build success at `date '+%T %F'`"
},
"devDependencies"
:
{
"@babel/cli"
:
"7.0.0-rc.1"
,
"@babel/core"
:
"7.0.0-rc.1"
,
"@babel/node"
:
"7.0.0-rc.1"
,
"@babel/plugin-proposal-optional-chaining"
:
"7.9.0"
,
"@babel/preset-env"
:
"7.0.0-rc.1"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"https://tanawat@192.168.10.40/DMA/dma-common-backend.git"
},
"keywords"
:
[],
"author"
:
""
,
"license"
:
"ISC"
}
dist/src/index.js
0 → 100644
View file @
a71f309
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
exports
.
default
=
void
0
;
function
_classCallCheck
(
instance
,
Constructor
)
{
if
(
!
(
instance
instanceof
Constructor
))
{
throw
new
TypeError
(
"Cannot call a class as a function"
);
}
}
function
_defineProperties
(
target
,
props
)
{
for
(
var
i
=
0
;
i
<
props
.
length
;
i
++
)
{
var
descriptor
=
props
[
i
];
descriptor
.
enumerable
=
descriptor
.
enumerable
||
false
;
descriptor
.
configurable
=
true
;
if
(
"value"
in
descriptor
)
descriptor
.
writable
=
true
;
Object
.
defineProperty
(
target
,
descriptor
.
key
,
descriptor
);
}
}
function
_createClass
(
Constructor
,
protoProps
,
staticProps
)
{
if
(
protoProps
)
_defineProperties
(
Constructor
.
prototype
,
protoProps
);
if
(
staticProps
)
_defineProperties
(
Constructor
,
staticProps
);
return
Constructor
;
}
var
Utils
=
/*#__PURE__*/
function
()
{
function
Utils
()
{
_classCallCheck
(
this
,
Utils
);
}
_createClass
(
Utils
,
null
,
[{
key
:
"printf"
,
/**
* @description Testasdfasdfasdf
* @param {String} str
* @returns {String}
*/
value
:
function
printf
(
str
)
{
return
"=======>"
.
concat
(
str
,
"<======="
);
}
}]);
return
Utils
;
}();
var
_default
=
Utils
;
exports
.
default
=
_default
;
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment