-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 2.02 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 2.02 KB
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
{
"name": "@iiif/vocabulary",
"version": "1.0.31",
"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 --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 fix && 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": "eslint --fix \"./src/**/*.{js,jsx,json,css,ts,tsx}\"",
"prettify": "prettier --write \"./src/**/*.{js,jsx,json,css,ts,tsx}\" --ignore-path .prettierignore",
"fix": "npm run lint && npm run prettify",
"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": {
"cross-env": "^5.2.0",
"eslint": "9.27.0",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-prettier": "5.4.0",
"prettier": "^3.5.3",
"rimraf": "^2.6.2",
"ts-loader": "^8",
"typescript": "^5",
"typescript-eslint": "8.32.1",
"typescript-tslint-plugin": "^0.5.5",
"webpack": "^5.59.1",
"webpack-cli": "^5.1.4"
}
}