-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
71 lines (71 loc) · 2.54 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
{
"name": "manifesto.js",
"version": "4.2.20",
"description": "IIIF Presentation API utility library for client and server",
"main": "./dist-commonjs/index.js",
"module": "./dist-esmodule/index.js",
"browser": "./dist-umd/manifesto.js",
"unpkg": "./dist-umd/manifesto.js",
"types": "./dist-esmodule/index.d.ts",
"scripts": {
"build:commonjs": "tsc",
"build:docs": "rimraf -rf docs && typedoc --out docs --name manifesto --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": "dts-bundle-generator --umd-module-name manifesto -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}\"",
"prepublishOnly": "npm run build && npm run test",
"test": "mocha",
"watch": "npm run build:esmodule -- --watch"
},
"engines": {
"node": ">=8.9.1",
"npm": ">=3.10.8"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iiif-commons/manifesto.git"
},
"keywords": [
"IIIF"
],
"author": "@edsilv",
"license": "MIT",
"bugs": {
"url": "https://github.com/iiif-commons/manifesto/issues"
},
"homepage": "https://github.com/iiif-commons/manifesto",
"devDependencies": {
"@types/node": "8.10.52",
"chai": "2.3.0",
"cross-env": "^5.2.1",
"dts-bundle-generator": "^9.5.1",
"finalhandler": "1.3.1",
"http": "0.0.0",
"mocha": "^10.7.3",
"prettier": "^1.19.1",
"prettier-check": "^2.0.0",
"rimraf": "^3.0.0",
"serve-static": "^1.14.1",
"ts-loader": "^8",
"tslint-config-prettier": "^1.18.0",
"typedoc": "^0.26.10",
"typescript": "^5",
"typescript-tslint-plugin": "^0.5.5",
"webpack": "^4.28.3",
"webpack-cli": "^3.1.2",
"yargs": "3.10.0"
},
"dependencies": {
"@edsilv/http-status-codes": "^1.0.3",
"@iiif/vocabulary": "^1.0.26",
"isomorphic-unfetch": "^3.0.0",
"lodash": "^4.17.21"
},
"directories": {
"test": "test"
}
}