2013-06-01 00:53:32 -07:00
|
|
|
{
|
2015-01-27 00:07:51 -07:00
|
|
|
"name": "konva",
|
2023-06-05 10:29:48 -05:00
|
|
|
"version": "9.2.0",
|
2015-01-27 15:25:10 +07:00
|
|
|
"author": "Anton Lavrenov",
|
2018-10-24 08:02:06 -05:00
|
|
|
"files": [
|
|
|
|
|
"README.md",
|
|
|
|
|
"konva.js",
|
|
|
|
|
"konva.min.js",
|
2021-09-23 11:17:50 -05:00
|
|
|
"lib",
|
|
|
|
|
"cmj"
|
2018-10-24 08:02:06 -05:00
|
|
|
],
|
2023-04-13 23:27:56 -05:00
|
|
|
"main": "./lib/index-node.js",
|
2021-04-30 09:24:27 -05:00
|
|
|
"browser": "./lib/index.js",
|
2021-05-21 18:20:52 -05:00
|
|
|
"typings": "./lib/index-types.d.ts",
|
2015-12-22 17:19:19 +07:00
|
|
|
"scripts": {
|
2021-05-03 17:09:18 -05:00
|
|
|
"start": "npm run test:watch",
|
2023-04-13 23:27:56 -05:00
|
|
|
"compile": "npm run clean && npm run tsc && cp ./src/index-types.d.ts ./lib/index-types.d.ts && npm run rollup",
|
2021-09-23 11:17:50 -05:00
|
|
|
"build": "npm run compile && cp ./src/index-types.d.ts ./lib && gulp build && node ./rename-imports.mjs",
|
2021-09-23 16:17:14 -05:00
|
|
|
"test:import": "npm run build && node ./test/import-test.cjs &&node ./test/import-test.mjs",
|
2021-05-05 13:36:44 -05:00
|
|
|
"test": "npm run test:browser && npm run test:node",
|
2022-08-05 11:13:09 -05:00
|
|
|
"test:build": "parcel build ./test/unit-tests.html --dist-dir ./test-build --target none --public-url ./ --no-source-maps",
|
2021-05-04 09:33:41 -05:00
|
|
|
"test:browser": "npm run test:build && mocha-headless-chrome -f ./test-build/unit-tests.html -a disable-web-security",
|
2023-06-05 10:17:19 -05:00
|
|
|
"test:watch": "rm -rf ./.parcel-cache && parcel serve ./test/unit-tests.html ./test/manual-tests.html ./test/sandbox.html ./test/text-paths.html ./test/bunnies.html",
|
2023-05-02 17:27:45 +02:00
|
|
|
"test:node": "ts-mocha -r ./test/node-global-setup.mjs -p ./test/tsconfig.json test/unit/**/*.ts --exit && npm run test:import",
|
2023-04-13 23:27:56 -05:00
|
|
|
"tsc": "tsc --removeComments",
|
2022-12-17 11:27:22 -05:00
|
|
|
"rollup": "rollup -c --bundleConfigAsCjs",
|
2021-09-23 11:17:50 -05:00
|
|
|
"clean": "rm -rf ./lib && rm -rf ./types && rm -rf ./cmj && rm -rf ./test-build",
|
2020-06-02 12:16:44 -05:00
|
|
|
"watch": "rollup -c -w",
|
|
|
|
|
"size": "size-limit"
|
2015-12-22 17:19:19 +07:00
|
|
|
},
|
2021-04-30 09:24:27 -05:00
|
|
|
"targets": {
|
|
|
|
|
"none": {}
|
|
|
|
|
},
|
2020-12-16 14:22:00 -05:00
|
|
|
"funding": [
|
|
|
|
|
{
|
|
|
|
|
"type": "patreon",
|
|
|
|
|
"url": "https://www.patreon.com/lavrton"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "opencollective",
|
|
|
|
|
"url": "https://opencollective.com/konva"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "github",
|
|
|
|
|
"url": "https://github.com/sponsors/lavrton"
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-06-02 12:16:44 -05:00
|
|
|
"size-limit": [
|
|
|
|
|
{
|
2021-05-05 09:19:24 -05:00
|
|
|
"limit": "45 KB",
|
2020-06-02 12:16:44 -05:00
|
|
|
"path": "./lib/index.js"
|
|
|
|
|
},
|
|
|
|
|
{
|
2021-05-06 07:46:36 -05:00
|
|
|
"limit": "26 KB",
|
2020-06-02 12:16:44 -05:00
|
|
|
"path": "./lib/Core.js"
|
2020-08-21 12:09:58 -05:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "./konva.min.js"
|
2020-06-02 12:16:44 -05:00
|
|
|
}
|
|
|
|
|
],
|
2013-06-01 00:53:32 -07:00
|
|
|
"devDependencies": {
|
2023-04-13 23:27:56 -05:00
|
|
|
"@parcel/transformer-image": "2.8.3",
|
|
|
|
|
"@size-limit/preset-big-lib": "^8.2.4",
|
2022-12-17 10:24:49 -05:00
|
|
|
"@types/mocha": "^10.0.1",
|
2023-04-05 21:08:48 -06:00
|
|
|
"canvas": "^2.11.2",
|
2022-12-17 10:24:49 -05:00
|
|
|
"chai": "4.3.7",
|
2022-04-27 09:21:24 -05:00
|
|
|
"filehound": "^1.17.6",
|
2019-10-04 07:46:30 -05:00
|
|
|
"gulp": "^4.0.2",
|
2016-12-14 12:11:54 -05:00
|
|
|
"gulp-concat": "^2.6.1",
|
2019-02-06 12:03:53 -05:00
|
|
|
"gulp-connect": "^5.7.0",
|
2021-01-26 11:54:37 -05:00
|
|
|
"gulp-exec": "^5.0.0",
|
2020-05-07 16:10:26 -05:00
|
|
|
"gulp-jsdoc3": "^3.0.0",
|
|
|
|
|
"gulp-rename": "^2.0.0",
|
2023-04-13 23:27:56 -05:00
|
|
|
"gulp-replace": "^1.1.4",
|
2019-04-17 10:45:47 -05:00
|
|
|
"gulp-typescript": "^5.0.1",
|
2019-04-03 18:08:16 -05:00
|
|
|
"gulp-uglify": "^3.0.2",
|
2021-09-23 11:17:50 -05:00
|
|
|
"gulp-uglify-es": "^3.0.0",
|
2017-04-25 13:00:35 -05:00
|
|
|
"gulp-util": "^3.0.8",
|
2022-12-17 10:24:49 -05:00
|
|
|
"mocha": "10.2.0",
|
2022-03-12 22:48:54 -05:00
|
|
|
"mocha-headless-chrome": "^4.0.0",
|
2023-04-13 23:27:56 -05:00
|
|
|
"parcel": "2.8.3",
|
2022-03-12 22:48:54 -05:00
|
|
|
"process": "^0.11.10",
|
2023-04-13 23:27:56 -05:00
|
|
|
"rollup": "^3.20.2",
|
2019-10-04 07:46:30 -05:00
|
|
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
|
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
2021-01-26 11:54:37 -05:00
|
|
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
2022-12-17 10:24:49 -05:00
|
|
|
"rollup-plugin-typescript2": "^0.34.1",
|
2023-04-13 23:27:56 -05:00
|
|
|
"size-limit": "^8.2.4",
|
2022-08-09 09:47:48 -05:00
|
|
|
"ts-mocha": "^10.0.0",
|
|
|
|
|
"ts-node": "^10.9.1",
|
2023-04-13 23:27:56 -05:00
|
|
|
"typescript": "^5.0.4"
|
2013-06-01 00:53:32 -07:00
|
|
|
},
|
2018-10-24 08:02:06 -05:00
|
|
|
"keywords": [
|
|
|
|
|
"canvas",
|
|
|
|
|
"animations",
|
|
|
|
|
"graphic",
|
|
|
|
|
"html5"
|
|
|
|
|
],
|
2018-03-26 21:28:02 -07:00
|
|
|
"prettier": {
|
|
|
|
|
"singleQuote": true
|
|
|
|
|
},
|
2014-04-14 15:17:57 +08:00
|
|
|
"bugs": {
|
2015-01-27 15:25:10 +07:00
|
|
|
"url": "https://github.com/konvajs/konva/issues"
|
2014-04-14 15:17:57 +08:00
|
|
|
},
|
2019-02-23 20:54:20 -05:00
|
|
|
"homepage": "http://konvajs.org/",
|
2013-06-01 00:53:32 -07:00
|
|
|
"readmeFilename": "README.md",
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2015-01-27 15:25:10 +07:00
|
|
|
"url": "git://github.com/konvajs/konva.git"
|
2013-06-01 00:53:32 -07:00
|
|
|
},
|
2021-04-30 09:24:27 -05:00
|
|
|
"license": "MIT"
|
2017-03-20 06:54:31 -05:00
|
|
|
}
|