Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Vincent Peybernes
/
angular-matrix-validation
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
001f446c
...
001f446c1dbba804a9e7d0bdb57fb46a2d04f0f2
authored
2017-01-12 01:49:49 +0100
by
Vincent Peybernes
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add build
1 parent
7f192298
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
3 deletions
.gitignore
gulpfile.js
package.json
.gitignore
View file @
001f446
...
...
@@ -2,5 +2,8 @@
.idea
*.iml
#Node
node_modules
\ No newline at end of file
# Node
node_modules
# Build
dist
\ No newline at end of file
...
...
gulpfile.js
0 → 100644
View file @
001f446
/**
* Created by Techniv on 12/01/2017.
*/
const
gulp
=
require
(
'gulp'
),
del
=
require
(
'del'
);
const
distPath
=
'./dist/'
;
const
srcPath
=
'./src/matrix-validation.js'
;
gulp
.
task
(
'clean'
,
()
=>
{
return
del
(
distPath
);
});
gulp
.
task
(
'build'
,
()
=>
{
gulp
.
src
(
srcPath
)
.
pipe
(
gulp
.
dest
(
distPath
));
});
\ No newline at end of file
package.json
View file @
001f446
...
...
@@ -4,7 +4,9 @@
"description"
:
"Matrix valition for angular form"
,
"main"
:
"index.js"
,
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
"build"
:
"node_modules/.bin/gulp build"
,
"postinstall"
:
"npm run build"
},
"author"
:
{
"name"
:
"Techniv"
,
...
...
@@ -13,6 +15,8 @@
"license"
:
"MIT"
,
"devDependencies"
:
{
"gulp"
:
"*"
,
"del"
:
"*"
,
"angular"
:
"*"
}
}
...
...
Please
register
or
sign in
to post a comment