Browse Source

Merge pull request #127 from bluej100/build

add build command
pull/125/head
Matt Holt 10 years ago
parent
commit
7f5a4eda53
  1. 18
      Gruntfile.js
  2. 2
      package.json
  3. 2
      papaparse.js
  4. 4
      papaparse.min.js

18
Gruntfile.js

@ -0,0 +1,18 @@ @@ -0,0 +1,18 @@
module.exports = function(grunt) {
grunt.initConfig({
uglify: {
options: {
preserveComments: 'some',
},
min: {
files: {
'papaparse.min.js': ['papaparse.js']
},
},
},
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('build', ['uglify']);
}

2
package.json

@ -38,6 +38,8 @@ @@ -38,6 +38,8 @@
"main": "papaparse.js",
"devDependencies": {
"connect": "^3.3.3",
"grunt": "^0.4.5",
"grunt-contrib-uglify": "^0.6.0",
"open": "0.0.5",
"serve-static": "^1.7.1"
},

2
papaparse.js

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
/*
/*!
Papa Parse
v4.0.7
https://github.com/mholt/PapaParse

4
papaparse.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save