Browse Source

v0.4.0: + modularization; * then -> always

dev
RubaXa 11 years ago
parent
commit
73cc7691d2
  1. 7
      Gruntfile.js
  2. 4
      Ply.min.js
  3. 5
      package.json
  4. 1
      src/Ply.es6

7
Gruntfile.js

@ -4,6 +4,10 @@ module.exports = function (grunt){
grunt.initConfig({ grunt.initConfig({
pkg: grunt.file.readJSON('package.json'), pkg: grunt.file.readJSON('package.json'),
version: {
src: ['src/Ply.es6']
},
es6transpiler: { es6transpiler: {
core: { core: {
src: 'Ply.es6', src: 'Ply.es6',
@ -86,6 +90,7 @@ module.exports = function (grunt){
grunt.loadNpmTasks('grunt-version');
grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-qunit-istanbul'); grunt.loadNpmTasks('grunt-qunit-istanbul');
grunt.loadNpmTasks('grunt-es6-transpiler'); grunt.loadNpmTasks('grunt-es6-transpiler');
@ -95,5 +100,5 @@ module.exports = function (grunt){
grunt.registerTask('es', ['export', 'es6transpiler']); grunt.registerTask('es', ['export', 'es6transpiler']);
grunt.registerTask('build', ['es', 'qunit']); grunt.registerTask('build', ['es', 'qunit']);
grunt.registerTask('min', ['uglify']); grunt.registerTask('min', ['uglify']);
grunt.registerTask('default', ['build', 'min']); grunt.registerTask('default', ['version', 'build', 'min']);
}; };

4
Ply.min.js vendored

File diff suppressed because one or more lines are too long

5
package.json

@ -1,13 +1,14 @@
{ {
"name": "ply", "name": "ply",
"exportName": "Ply", "exportName": "Ply",
"version": "0.3.0", "version": "0.4.0",
"devDependencies": { "devDependencies": {
"grunt": "*", "grunt": "*",
"grunt-contrib-watch": "*", "grunt-contrib-watch": "*",
"grunt-qunit-istanbul": "*", "grunt-qunit-istanbul": "*",
"grunt-es6-transpiler": "*", "grunt-es6-transpiler": "*",
"grunt-contrib-uglify": "*" "grunt-contrib-uglify": "*",
"grunt-version": "*"
}, },
"description": "Ply — Amazing layer/modal/dialog system. Wow!", "description": "Ply — Amazing layer/modal/dialog system. Wow!",
"main": "Ply.js", "main": "Ply.js",

1
src/Ply.es6

@ -753,6 +753,7 @@
}; };
Ply.version = '0.4.0';
return Ply; return Ply;
}); });

Loading…
Cancel
Save