1 | {
|
---|
2 | "name": "konva",
|
---|
3 | "version": "9.3.14",
|
---|
4 | "author": "Anton Lavrenov",
|
---|
5 | "files": [
|
---|
6 | "README.md",
|
---|
7 | "konva.js",
|
---|
8 | "konva.min.js",
|
---|
9 | "lib",
|
---|
10 | "cmj"
|
---|
11 | ],
|
---|
12 | "main": "./lib/index-node.js",
|
---|
13 | "browser": "./lib/index.js",
|
---|
14 | "typings": "./lib/index-types.d.ts",
|
---|
15 | "scripts": {
|
---|
16 | "start": "npm run test:watch",
|
---|
17 | "compile": "npm run clean && npm run tsc && cp ./src/index-types.d.ts ./lib/index-types.d.ts && npm run rollup",
|
---|
18 | "build": "npm run compile && cp ./src/index-types.d.ts ./lib && gulp build && node ./rename-imports.mjs",
|
---|
19 | "test:import": "npm run build && node ./test/import-test.cjs &&node ./test/import-test.mjs",
|
---|
20 | "test": "npm run test:browser && npm run test:node",
|
---|
21 | "test:build": "parcel build ./test/unit-tests.html --dist-dir ./test-build --target none --public-url ./ --no-source-maps",
|
---|
22 | "test:browser": "npm run test:build && mocha-headless-chrome -f ./test-build/unit-tests.html -a disable-web-security",
|
---|
23 | "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",
|
---|
24 | "test:node": "ts-mocha -r ./test/node-global-setup.mjs -p ./test/tsconfig.json test/unit/**/*.ts --exit && npm run test:import",
|
---|
25 | "tsc": "tsc --removeComments",
|
---|
26 | "rollup": "rollup -c --bundleConfigAsCjs",
|
---|
27 | "clean": "rm -rf ./lib && rm -rf ./types && rm -rf ./cmj && rm -rf ./test-build",
|
---|
28 | "watch": "rollup -c -w",
|
---|
29 | "size": "size-limit"
|
---|
30 | },
|
---|
31 | "targets": {
|
---|
32 | "none": {}
|
---|
33 | },
|
---|
34 | "funding": [
|
---|
35 | {
|
---|
36 | "type": "patreon",
|
---|
37 | "url": "https://www.patreon.com/lavrton"
|
---|
38 | },
|
---|
39 | {
|
---|
40 | "type": "opencollective",
|
---|
41 | "url": "https://opencollective.com/konva"
|
---|
42 | },
|
---|
43 | {
|
---|
44 | "type": "github",
|
---|
45 | "url": "https://github.com/sponsors/lavrton"
|
---|
46 | }
|
---|
47 | ],
|
---|
48 | "size-limit": [
|
---|
49 | {
|
---|
50 | "limit": "45 KB",
|
---|
51 | "path": "./lib/index.js"
|
---|
52 | },
|
---|
53 | {
|
---|
54 | "limit": "26 KB",
|
---|
55 | "path": "./lib/Core.js"
|
---|
56 | },
|
---|
57 | {
|
---|
58 | "path": "./konva.min.js"
|
---|
59 | }
|
---|
60 | ],
|
---|
61 | "devDependencies": {
|
---|
62 | "@parcel/transformer-image": "2.10.1",
|
---|
63 | "@size-limit/preset-big-lib": "^11.0.1",
|
---|
64 | "@types/mocha": "^10.0.6",
|
---|
65 | "canvas": "^2.11.2",
|
---|
66 | "chai": "4.3.10",
|
---|
67 | "filehound": "^1.17.6",
|
---|
68 | "gulp": "^4.0.2",
|
---|
69 | "gulp-concat": "^2.6.1",
|
---|
70 | "gulp-connect": "^5.7.0",
|
---|
71 | "gulp-exec": "^5.0.0",
|
---|
72 | "gulp-jsdoc3": "^3.0.0",
|
---|
73 | "gulp-rename": "^2.0.0",
|
---|
74 | "gulp-replace": "^1.1.4",
|
---|
75 | "gulp-typescript": "^5.0.1",
|
---|
76 | "gulp-uglify": "^3.0.2",
|
---|
77 | "gulp-uglify-es": "^3.0.0",
|
---|
78 | "gulp-util": "^3.0.8",
|
---|
79 | "mocha": "10.2.0",
|
---|
80 | "mocha-headless-chrome": "^4.0.0",
|
---|
81 | "parcel": "2.10.1",
|
---|
82 | "process": "^0.11.10",
|
---|
83 | "rollup": "^4.9.1",
|
---|
84 | "rollup-plugin-commonjs": "^10.1.0",
|
---|
85 | "rollup-plugin-node-resolve": "^5.2.0",
|
---|
86 | "rollup-plugin-sourcemaps": "^0.6.3",
|
---|
87 | "rollup-plugin-typescript2": "^0.36.0",
|
---|
88 | "size-limit": "^11.0.1",
|
---|
89 | "ts-mocha": "^10.0.0",
|
---|
90 | "ts-node": "^10.9.2",
|
---|
91 | "typescript": "^5.3.3"
|
---|
92 | },
|
---|
93 | "keywords": [
|
---|
94 | "canvas",
|
---|
95 | "animations",
|
---|
96 | "graphic",
|
---|
97 | "html5"
|
---|
98 | ],
|
---|
99 | "prettier": {
|
---|
100 | "singleQuote": true
|
---|
101 | },
|
---|
102 | "bugs": {
|
---|
103 | "url": "https://github.com/konvajs/konva/issues"
|
---|
104 | },
|
---|
105 | "homepage": "http://konvajs.org/",
|
---|
106 | "readmeFilename": "README.md",
|
---|
107 | "repository": {
|
---|
108 | "type": "git",
|
---|
109 | "url": "git://github.com/konvajs/konva.git"
|
---|
110 | },
|
---|
111 | "license": "MIT"
|
---|
112 | }
|
---|