mirror of
https://github.com/konvajs/konva.git
synced 2026-01-21 10:31:52 +08:00
initial migrate to typescript
This commit is contained in:
20
package.json
20
package.json
@@ -10,15 +10,18 @@
|
||||
"konva.d.ts"
|
||||
],
|
||||
"main": "konva.js",
|
||||
"module": "konva.esm.js",
|
||||
"typings": "./konva.d.ts",
|
||||
"scripts": {
|
||||
"start": "gulp",
|
||||
"lint": "gulp lint",
|
||||
"build": "gulp build",
|
||||
"full-build": "gulp lint && npm t && gulp build",
|
||||
"build": "npm run compile && gulp build",
|
||||
"full-build": "npm run build && npm t",
|
||||
"test": "mocha-headless-chrome -f ./test/runner.html -a disable-web-security",
|
||||
"prettier": "prettier --write \"src/**/*.js\" \"test/**/*.js\" --single-quote",
|
||||
"typescript": "tsc"
|
||||
"tsc": "tsc || echo \"tsc faild for some file(s).\"",
|
||||
"rollup": "rollup -c",
|
||||
"compile": "npm run tsc && npm run rollup"
|
||||
},
|
||||
"devDependencies": {
|
||||
"chai": "4.1.2",
|
||||
@@ -59,5 +62,14 @@
|
||||
"type": "git",
|
||||
"url": "git://github.com/konvajs/konva.git"
|
||||
},
|
||||
"license": "MIT"
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"gulp-exec": "^3.0.2",
|
||||
"gulp-typescript": "^5.0.0",
|
||||
"rollup": "^0.68.2",
|
||||
"rollup-plugin-commonjs": "^9.2.0",
|
||||
"rollup-plugin-node-resolve": "^4.0.0",
|
||||
"rollup-plugin-sourcemaps": "^0.4.2",
|
||||
"rollup-plugin-typescript2": "^0.18.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user