Skip to content

Commit b4bd792

Browse files
committed
first files for travisci
1 parent 00cc4de commit b4bd792

File tree

4 files changed

+41
-0
lines changed

4 files changed

+41
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package-lock.json
2+
node_modules/

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: node_js
2+
node_js:
3+
- "lts/*"
4+
before_script:
5+
- npm install grunt-cli -g

Gruntfile.js

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module.exports = function(grunt) {
2+
3+
grunt.initConfig({
4+
jshint: {
5+
files: ['Gruntfile.js', 'src/**/*.js', 'test/**/*.js'],
6+
options: {
7+
globals: {
8+
jQuery: true
9+
}
10+
}
11+
},
12+
watch: {
13+
files: ['<%= jshint.files %>'],
14+
tasks: ['jshint']
15+
}
16+
});
17+
18+
grunt.loadNpmTasks('grunt-contrib-jshint');
19+
grunt.loadNpmTasks('grunt-contrib-watch');
20+
21+
grunt.registerTask('default', ['jshint']);
22+
23+
};

package.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "TS3WI-AdminLTE",
3+
"private": true,
4+
"scripts": {
5+
"build-all": "grunt build-all"
6+
},
7+
"devDependencies": {
8+
"grunt": "^0.4.5",
9+
"grunt-string-replace": "^1.3.1"
10+
}
11+
}

0 commit comments

Comments
 (0)