forked from konvajs/konva
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
141 lines (141 loc) · 3.98 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "konva",
"version": "8.3.13",
"author": "Anton Lavrenov",
"files": [
"README.md",
"konva.js",
"konva.min.js",
"lib",
"cmj"
],
"main": "./cmj/index-node.js",
"browser": "./lib/index.js",
"typings": "./lib/index-types.d.ts",
"type": "module",
"__ignore_exports": {
".": {
"node": {
"require": "./cmj/index-node.js",
"import": "./lib/index-node.js",
"default": "./lib/index-node.js"
},
"require": "./cmj/index.js",
"import": "./lib/index.js",
"default": "./lib/index.js"
},
"./cmj": {
"import": "./cmj/index.js",
"require": "./cmj/index-node.js",
"node": "./cmj/index-node.js",
"default": "./cmj/index.js"
},
"./cmj/*": {
"import": "./cmj/*.js",
"require": "./cmj/*.js",
"default": "./cmj/*.js"
},
"./lib/*": {
"import": "./cmj/*.js",
"require": "./cmj/*.js",
"default": "./cmj/*.js"
}
},
"scripts": {
"start": "npm run test:watch",
"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",
"test:import": "npm run build && node ./test/import-test.cjs &&node ./test/import-test.mjs",
"test": "npm run test:browser && npm run test:node",
"test:build": "parcel build ./test/unit-tests.html --dist-dir ./test-build --target none --public-url ./ --no-source-maps",
"test:browser": "npm run test:build && mocha-headless-chrome -f ./test-build/unit-tests.html -a disable-web-security",
"test:node": "ts-mocha -p ./test/tsconfig.json test/unit/**/*.ts --exit && npm run test:import",
"test:watch": "rm -rf ./parcel-cache && parcel serve ./test/unit-tests.html ./test/manual-tests.html ./test/sandbox.html",
"tsc": "tsc --removeComments && tsc --build ./tsconfig-cmj.json",
"rollup": "rollup -c",
"clean": "rm -rf ./lib && rm -rf ./types && rm -rf ./cmj && rm -rf ./test-build",
"watch": "rollup -c -w",
"size": "size-limit"
},
"targets": {
"none": {}
},
"funding": [
{
"type": "patreon",
"url": "https://www.patreon.com/lavrton"
},
{
"type": "opencollective",
"url": "https://opencollective.com/konva"
},
{
"type": "github",
"url": "https://github.com/sponsors/lavrton"
}
],
"size-limit": [
{
"limit": "45 KB",
"path": "./lib/index.js"
},
{
"limit": "26 KB",
"path": "./lib/Core.js"
},
{
"path": "./konva.min.js"
}
],
"devDependencies": {
"@parcel/transformer-image": "2.7.0",
"@size-limit/preset-big-lib": "^8.0.0",
"@types/mocha": "^9.1.1",
"canvas": "^2.9.3",
"chai": "4.3.6",
"filehound": "^1.17.6",
"gulp": "^4.0.2",
"gulp-concat": "^2.6.1",
"gulp-connect": "^5.7.0",
"gulp-exec": "^5.0.0",
"gulp-jsdoc3": "^3.0.0",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.3",
"gulp-typescript": "^5.0.1",
"gulp-uglify": "^3.0.2",
"gulp-uglify-es": "^3.0.0",
"gulp-util": "^3.0.8",
"mocha": "10.0.0",
"mocha-headless-chrome": "^4.0.0",
"parcel": "2.7.0",
"process": "^0.11.10",
"rollup": "^2.77.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.32.1",
"size-limit": "^8.0.0",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"keywords": [
"canvas",
"animations",
"graphic",
"html5"
],
"prettier": {
"singleQuote": true
},
"bugs": {
"url": "https://github.com/konvajs/konva/issues"
},
"homepage": "http://konvajs.org/",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/konvajs/konva.git"
},
"license": "MIT"
}