-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
80 lines (80 loc) · 3.42 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
{
"name": "@iiif/iiif-av-component",
"version": "1.2.4",
"description": "",
"main": "./dist-commonjs/index.js",
"module": "./dist-esmodule/index.js",
"browser": "./dist-umd/IIIFAVComponent.js",
"types": "./dist-commonjs/index.d.ts",
"scripts": {
"build:css": "cross-env mkdir -p dist-css && cross-env mkdir -p dist-esmodule/css && cross-env mkdir -p dist-commonjs/css && npx lessc ./src/css/styles.less > ./dist-css/styles.css && cross-env cp ./dist-css/styles.css ./dist-css/styles.less && cross-env cp ./dist-css/styles.css ./dist-commonjs/css/styles.less && cross-env cp ./dist-css/styles.css ./dist-esmodule/css/styles.less",
"build:commonjs": "tsc",
"build:docs": "rimraf -rf docs && typedoc --out docs --name IIIFAVComponent --theme default --ignoreCompilerErrors --experimentalDecorators --emitDecoratorMetadata --target ES6 --moduleResolution node --preserveConstEnums --stripInternal --suppressExcessPropertyErrors --suppressImplicitAnyIndexErrors --module commonjs src/ && touch docs/.nojekyll",
"build:esmodule": "tsc -m es6 --outDir dist-esmodule",
"build:types": "dts-bundle-generator --umd-module-name IIIFAVComponent -o types/index.d.ts dist-esmodule/index.d.ts",
"build:umd": "webpack",
"build:var": "cross-env NODE_WEBPACK_LIBRARY_PATH=dist-var NODE_WEBPACK_LIBRARY_TARGET=var webpack",
"build": "npm run clean && npm run build:css && npm run build:commonjs && npm run build:esmodule && npm run build:umd && npm run build:var && npm run build:types",
"clean": "rimraf -rf dist-css dist-umd dist-commonjs dist-esmodule dist-var types",
"prepublishOnly": "npm run build",
"start": "npx webpack serve -c webpack.dev-server.js",
"test": "vitest",
"test:reporter": "vitest --watch --reporter=dot --reporter=json --outputFile=.vitest-result.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iiif-commons/iiif-av-component.git"
},
"author": "@edsilv",
"license": "MIT",
"bugs": {
"url": "https://github.com/iiif-commons/iiif-av-component/issues"
},
"homepage": "https://github.com/iiif-commons/iiif-av-component#readme",
"devDependencies": {
"@iiif/vocabulary": "^1.0.20",
"@types/jquery": "2.0.34",
"@types/node": "^14.18.21",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"@webpack-cli/serve": "^1.7.0",
"awesome-typescript-loader": "^5.2.1",
"buffer": "^6.0.3",
"cross-env": "^5.2.1",
"dts-bundle-generator": "^2.1.0",
"eslint": "^8.20.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-prettier": "^4.2.1",
"html-webpack-plugin": "^5.5.0",
"less": "^3.8.1",
"rimraf": "^2.6.2",
"prettier": "^2.7.1",
"serve": "^10.0.2",
"ts-loader": "^9.3.1",
"typescript": "4.7.4",
"uglify-js": "3.16.2",
"vite": "^3.0.2",
"vitest": "^0.34.2",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3"
},
"dependencies": {
"@iiif/base-component": "2.*",
"@iiif/manifold": "^2.0.5",
"@types/jquery": "2.0.34",
"@types/jqueryui": "^1.11.36",
"css-loader": "^5.2.7",
"dashjs": "2.6.7",
"happy-dom": "^6.0.4",
"jquery": "^3.5.0",
"jquery-ui-dist": "^1.12.1",
"jsdom": "^20.0.0",
"less-loader": "^7.3.0",
"manifesto.js": "^4.2.4",
"node-polyfill-webpack-plugin": "^2.0.0",
"style-loader": "^2.0.0",
"url-loader": "^4.1.1",
"waveform-panel": "^1.2.0"
}
}