mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 07:19:19 +08:00
build and remove wrong dep
This commit is contained in:
parent
03b655a9c9
commit
478a6500a4
11
gulpfile.js
11
gulpfile.js
@ -114,11 +114,6 @@ gulp.task('build', function() {
|
||||
.pipe(gulp.dest('./'));
|
||||
});
|
||||
|
||||
// tun tests
|
||||
gulp.task('test', ['dev-build'], function() {
|
||||
return gulp.src('test/runner.html').pipe(mochaPhantomJS());
|
||||
});
|
||||
|
||||
// local server for better development
|
||||
gulp.task('server', function() {
|
||||
connect.server();
|
||||
@ -126,7 +121,8 @@ gulp.task('server', function() {
|
||||
|
||||
// lint files
|
||||
gulp.task('lint', function() {
|
||||
return (gulp
|
||||
return (
|
||||
gulp
|
||||
.src('./src/**/*.js')
|
||||
.pipe(
|
||||
eslint({
|
||||
@ -138,7 +134,8 @@ gulp.task('lint', function() {
|
||||
.pipe(eslint.format())
|
||||
// To have the process exit with an error code (1) on
|
||||
// lint error, return the stream and pipe to failOnError last.
|
||||
.pipe(eslint.failOnError()) );
|
||||
.pipe(eslint.failOnError())
|
||||
);
|
||||
});
|
||||
|
||||
// check code for duplication
|
||||
|
2
konva.js
2
konva.js
@ -2,7 +2,7 @@
|
||||
* Konva JavaScript Framework v2.1.5
|
||||
* http://konvajs.github.io/
|
||||
* Licensed under the MIT
|
||||
* Date: Fri Jun 15 2018
|
||||
* Date: Wed Jun 20 2018
|
||||
*
|
||||
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
|
||||
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)
|
||||
|
2
konva.min.js
vendored
2
konva.min.js
vendored
@ -2,7 +2,7 @@
|
||||
* Konva JavaScript Framework v2.1.5
|
||||
* http://konvajs.github.io/
|
||||
* Licensed under the MIT
|
||||
* Date: Fri Jun 15 2018
|
||||
* Date: Wed Jun 20 2018
|
||||
*
|
||||
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
|
||||
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)
|
||||
|
29
package.json
29
package.json
@ -2,13 +2,7 @@
|
||||
"name": "konva",
|
||||
"version": "2.1.5",
|
||||
"author": "Anton Lavrenov",
|
||||
"files": [
|
||||
"README.md",
|
||||
"konva.js",
|
||||
"konva.min.js",
|
||||
"src",
|
||||
"konva.d.ts"
|
||||
],
|
||||
"files": ["README.md", "konva.js", "konva.min.js", "src", "konva.d.ts"],
|
||||
"main": "konva.js",
|
||||
"typings": "./konva.d.ts",
|
||||
"scripts": {
|
||||
@ -16,8 +10,10 @@
|
||||
"lint": "gulp lint",
|
||||
"build": "gulp build",
|
||||
"full-build": "gulp lint && npm t && gulp build",
|
||||
"test": "mocha-headless-chrome -f ./test/runner.html -a disable-web-security",
|
||||
"prettier": "prettier --write \"src/**/*.js\" \"test/**/*.js\" --single-quote"
|
||||
"test":
|
||||
"mocha-headless-chrome -f ./test/runner.html -a disable-web-security",
|
||||
"prettier":
|
||||
"prettier --write \"src/**/*.js\" \"test/**/*.js\" --single-quote"
|
||||
},
|
||||
"devDependencies": {
|
||||
"chai": "4.1.2",
|
||||
@ -27,20 +23,15 @@
|
||||
"gulp-eslint": "^4.0.0",
|
||||
"gulp-jscpd": "0.0.8",
|
||||
"gulp-jsdoc3": "^1.0.1",
|
||||
"gulp-mocha-phantomjs": "^0.12.2",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-replace": "^0.6.1",
|
||||
"gulp-uglify": "^3.0.0",
|
||||
"gulp-util": "^3.0.8",
|
||||
"mocha": "4.0.1",
|
||||
"prettier": "^1.9.2"
|
||||
"prettier": "^1.9.2",
|
||||
"mocha-headless-chrome": "^2.0.0"
|
||||
},
|
||||
"keywords": [
|
||||
"canvas",
|
||||
"animations",
|
||||
"graphic",
|
||||
"html5"
|
||||
],
|
||||
"keywords": ["canvas", "animations", "graphic", "html5"],
|
||||
"prettier": {
|
||||
"singleQuote": true
|
||||
},
|
||||
@ -58,7 +49,5 @@
|
||||
"url": "git://github.com/konvajs/konva.git"
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"mocha-headless-chrome": "^2.0.0"
|
||||
}
|
||||
"dependencies": {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user