-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
60 lines (60 loc) · 2.27 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
{
"name": "@iiif/manifold",
"version": "2.1.1",
"description": "",
"main": "./dist-umd/manifold.js",
"module": "./dist-esmodule/index.js",
"types": "./dist-esmodule/index.d.ts",
"scripts": {
"build:commonjs": "tsc",
"build:docs": "rimraf -rf docs && typedoc --out docs --name manifold --theme default --ignoreCompilerErrors --experimentalDecorators --emitDecoratorMetadata --target ES6 --moduleResolution node --preserveConstEnums --stripInternal --suppressExcessPropertyErrors --module commonjs src/ && touch docs/.nojekyll",
"build:esmodule": "tsc -m es6 --outDir dist-esmodule",
"build:types": "npx dts-bundle-generator --umd-module-name manifold -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 lint:all && npm run clean && npm run build:commonjs && npm run build:esmodule && npm run build:umd && npm run build:var && npm run build:types",
"clean": "rimraf -rf dist-umd dist-commonjs dist-esmodule dist-var types",
"lint:all": "prettier --write \"./src/**/*.{js,jsx,json,css,ts,tsx}\"",
"test": "jest",
"test:watch": "jest --watch",
"prepublishOnly": "npm run build",
"watch": "npm run build:esmodule -- --watch",
"start": "npx serve"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iiif-commons/manifold.git"
},
"author": "@edsilv",
"license": "MIT",
"bugs": {
"url": "https://github.com/iiif-commons/manifold/issues"
},
"homepage": "https://github.com/iiif-commons/manifold#readme",
"devDependencies": {
"cross-env": "^5.2.0",
"dts-bundle-generator": "^9.5.1",
"prettier": "^1.19.1",
"prettier-check": "^2.0.0",
"rimraf": "^2.6.3",
"ts-loader": "^8",
"tslint-config-prettier": "^1.18.0",
"typedoc": "0.14.0",
"typescript": "^5",
"typescript-tslint-plugin": "^0.5.5",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@edsilv/http-status-codes": "^1.0.3",
"@iiif/vocabulary": "^1.0.23",
"@types/jest": "^25.2.3",
"jest": "^29",
"jest-environment-jsdom": "^29.7.0",
"manifesto.js": "4.2.21",
"ts-jest": "^29"
},
"optionalDependencies": {
"fsevents": "*"
}
}