2013-06-01 00:53:32 -07:00
|
|
|
{
|
2015-01-27 00:07:51 -07:00
|
|
|
"name": "konva",
|
2022-01-04 12:11:37 -05:00
|
|
|
"version": "8.3.2",
|
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
|
|
|
],
|
2021-05-05 09:19:24 -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",
|
2021-09-23 11:17:50 -05:00
|
|
|
"type": "module",
|
2015-12-22 17:19:19 +07:00
|
|
|
"scripts": {
|
2021-05-03 17:09:18 -05:00
|
|
|
"start": "npm run test:watch",
|
2021-09-23 11:17:50 -05:00
|
|
|
"compile": "npm run clean && npm run tsc && cp ./src/index-types.d.ts ./lib/index-types.d.ts && npm run rollup && cp ./package-cmj.json ./cmj/package.json && cp ./src/index-types.d.ts ./cmj/index-types.d.ts",
|
|
|
|
"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",
|
2021-05-03 17:09:18 -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",
|
2021-05-09 07:26:16 -05:00
|
|
|
"test:node": "env TS_NODE_PROJECT=\"./test/tsconfig.json\" mocha -r ts-node/register test/unit/**/*.ts --exit && npm run test:import",
|
2021-10-22 10:09:34 -05:00
|
|
|
"test:watch": "rm -rf ./parcel-cache && parcel serve ./test/unit-tests.html ./test/manual-tests.html ./test/sandbox.html",
|
2021-09-23 16:43:38 -05:00
|
|
|
"tsc": "tsc --removeComments && tsc --build ./tsconfig-cmj.json",
|
2019-01-01 15:59:27 -05:00
|
|
|
"rollup": "rollup -c",
|
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": {
|
2021-09-23 11:32:04 -05:00
|
|
|
"@parcel/transformer-image": "2.0.0-beta.2",
|
2021-09-23 11:17:50 -05:00
|
|
|
"@size-limit/preset-big-lib": "^5.0.4",
|
|
|
|
"@types/mocha": "^9.0.0",
|
2021-05-21 10:53:06 -05:00
|
|
|
"canvas": "^2.8.0",
|
2021-04-30 09:24:27 -05:00
|
|
|
"chai": "4.3.4",
|
2021-09-23 11:17:50 -05:00
|
|
|
"filehound": "^1.17.5",
|
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",
|
2021-05-21 10:53:06 -05:00
|
|
|
"gulp-replace": "^1.1.3",
|
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",
|
2021-05-21 10:53:06 -05:00
|
|
|
"mocha": "8.4.0",
|
2021-01-26 11:54:37 -05:00
|
|
|
"mocha-headless-chrome": "^3.1.0",
|
2021-09-23 11:26:09 -05:00
|
|
|
"parcel": "2.0.0-beta.2",
|
2021-09-23 11:17:50 -05:00
|
|
|
"rollup": "^2.57.0",
|
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",
|
2021-04-30 09:24:27 -05:00
|
|
|
"rollup-plugin-typescript2": "^0.30.0",
|
2021-09-23 11:17:50 -05:00
|
|
|
"size-limit": "^5.0.4",
|
2021-04-30 09:24:27 -05:00
|
|
|
"ts-mocha": "^8.0.0",
|
2021-05-21 10:53:06 -05:00
|
|
|
"ts-node": "^9.1.1",
|
2021-09-23 11:17:50 -05:00
|
|
|
"typescript": "^4.4.3"
|
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
|
|
|
}
|