mirror of
https://github.com/konvajs/konva.git
synced 2026-01-22 21:02:26 +08:00
better modules
This commit is contained in:
13
package.json
13
package.json
@@ -11,13 +11,13 @@
|
||||
"lib"
|
||||
],
|
||||
"main": "./lib/index.js",
|
||||
"typings": "./types/index.d.ts",
|
||||
"typings": "./types/index-types.d.ts",
|
||||
"scripts": {
|
||||
"start": "npm run watch & gulp",
|
||||
"lint": "gulp lint",
|
||||
"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",
|
||||
"test": "node ./test/import-test.js && mocha-headless-chrome -f ./test/runner.html -a disable-web-security",
|
||||
"prettier": "prettier --write \"src/**/*.js\" \"test/**/*.js\" --single-quote",
|
||||
"tsc": "tsc -d --declarationDir ./types --removeComments --module CommonJS || echo \"tsc faild for some file(s).\"",
|
||||
"rollup": "rollup -c",
|
||||
@@ -26,6 +26,7 @@
|
||||
"watch": "rollup -c -w"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@pika/plugin-ts-standard-pkg": "^0.3.12",
|
||||
"chai": "4.2.0",
|
||||
"gulp": "^4.0.0",
|
||||
"gulp-concat": "^2.6.1",
|
||||
@@ -67,6 +68,7 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@pika/pack": "^0.3.3",
|
||||
"gulp-exec": "^3.0.2",
|
||||
"gulp-typescript": "^5.0.0",
|
||||
"rollup": "^1.1.2",
|
||||
@@ -74,5 +76,12 @@
|
||||
"rollup-plugin-node-resolve": "^4.0.0",
|
||||
"rollup-plugin-sourcemaps": "^0.4.2",
|
||||
"rollup-plugin-typescript2": "^0.19.2"
|
||||
},
|
||||
"@pika/pack": {
|
||||
"pipeline": [
|
||||
[
|
||||
"@pika/plugin-ts-standard-pkg"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user