-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
72 lines (72 loc) · 2.72 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
{
"name": "vott-ct",
"version": "2.4.1",
"description": "CanvasTools editor for the VoTT project",
"main": "./lib/js/ct.js",
"types": "./lib/js/ct.d.ts",
"scripts": {
"bundle-lib": "cpx ./src/canvastools/{icons,css}/* ./lib/ && cpx ./types/**/*.d.ts ./lib/js/ && tsc --project ./tsconfig.bundle.json",
"prepare": "npm run clean-dist && npm run clean-lib && npm run bundle-lib && npm run webpack-dist",
"webpack-dist-prod": "webpack --config webpack.config.js --env.mode=prod",
"webpack-dist-prod-min": "webpack --config webpack.config.js --env.mode=prod-min",
"webpack-dist-dev": "webpack --config webpack.config.js --env.mode=dev",
"webpack-test": "webpack --config webpack.config.js --env.mode=test",
"webpack-dist": "npm run webpack-dist-prod && npm run webpack-dist-prod-min && npm run webpack-dist-dev && npm run bundle-dts",
"bundle-dts": "del-cli ./dist/ct.d.ts && dts-bundle --configJson ./dts-bundle.json && npm run clean-dts",
"clean-dts": "del-cli ./dist/CanvasTools/ ./dist/CanvasTools.d.ts",
"clean-dist": "del-cli ./dist/",
"clean-lib": "del-cli ./lib/",
"plato-report": "./node_modules/.bin/es6-plato -r -d ./plato-report lib",
"start": "webpack-dev-server --config webpack.config.js",
"build": "npm run bundle-lib && webpack --config webpack.config.js --env.mode=prod && copyfiles -f dist/ct.js samples/shared/js/",
"test": "jest",
"lint": "tslint src/**/*.ts --exclude **/*.d.ts",
"lintfix": "tslint src/**/*.ts --exclude **/*.d.ts --fix"
},
"author": "Konstantin Kichinsky",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/CanvasTools-for-VOTT.git"
},
"bugs": {
"url": "https://github.com/microsoft/CanvasTools-for-VOTT/issues"
},
"homepage": "https://github.com/microsoft/CanvasTools-for-VOTT#readme",
"files": [
"/lib",
"/dist"
],
"dependencies": {
"snapsvg-cjs": "0.0.6",
"konva": "^8.3.9"
},
"devDependencies": {
"@types/jest": "^25.1.2",
"@types/node": "^17.0.22",
"canvas": "^2.9.3",
"copyfiles": "^2.3.0",
"cpx": "^1.5.0",
"css-loader": "^1.0.1",
"del-cli": "^1.1.0",
"dot-prop": ">=4.2.1",
"dts-bundle": "^0.7.3",
"es6-plato": "^1.2.3",
"handlebars": ">=4.5.3",
"imports-loader": "^0.8.0",
"jest": "^25.1.0",
"serialize-javascript": ">=3.1.0",
"style-loader": "^0.23.1",
"ts-jest": "^25.2.0",
"ts-loader": "^5.3.0",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.18.0",
"typedoc": "^0.19.2",
"typescript": "^3.2.2",
"webpack": "^4.44.2",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.10.1",
"webpack-merge": "^4.1.4"
}
}