UNPKG

manifesto.js

Version:

IIIF Presentation API utility library for client and server

70 lines (69 loc) 2.58 kB
{ "name": "manifesto.js", "version": "4.2.0", "description": "IIIF Presentation API utility library for client and server", "main": "./dist-commonjs/index.js", "module": "./dist-esmodule/index.js", "browser": "./dist-esmodule/index.js", "unpkg": "./dist-umd/manifesto.js", "types": "./types/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 --suppressImplicitAnyIndexErrors --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" }, "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", "awesome-typescript-loader": "^5.2.1", "chai": "2.3.0", "cross-env": "^5.2.1", "dts-bundle-generator": "^2.1.0", "finalhandler": "0.4.0", "http": "0.0.0", "mocha": "^2.2.4", "prettier": "^1.19.1", "prettier-check": "^2.0.0", "rimraf": "^3.0.0", "serve-static": "^1.14.1", "tslint-config-prettier": "^1.18.0", "typedoc": "^0.15.0", "typescript": "3.6.3", "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.11", "isomorphic-unfetch": "^3.0.0" }, "directories": { "test": "test" } }