-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
42 lines (42 loc) · 1.87 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
{
"name": "@iiif/vocabulary",
"version": "1.0.26",
"description": "IIIF Vocabulary",
"main": "./dist-umd/vocabulary.js",
"module": "./dist-esmodule/index.js",
"types": "./types/index.d.ts",
"scripts": {
"build:commonjs": "tsc",
"build:docs": "rimraf -rf docs && typedoc --out docs --name vocabulary --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": "npx dts-bundle-generator --umd-module-name vocabulary -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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/IIIF-Commons/vocabulary.git"
},
"author": "@edsilv",
"license": "MIT",
"bugs": {
"url": "https://github.com/IIIF-Commons/vocabulary/issues"
},
"homepage": "https://github.com/IIIF-Commons/vocabulary#readme",
"devDependencies": {
"awesome-typescript-loader": "^5.2.1",
"cross-env": "^5.2.0",
"prettier": "^1.19.1",
"prettier-check": "^2.0.0",
"rimraf": "^2.6.2",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.1.3",
"typescript-tslint-plugin": "^0.5.5",
"webpack": "^4.28.3",
"webpack-cli": "^3.1.2"
}
}