-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
68 lines (68 loc) · 2.37 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
{
"name": "@iiif/base-component",
"version": "2.0.1",
"description": "",
"main": "./dist-umd/basecomponent.js",
"module": "./dist-esmodule/index.js",
"types": "./types/index.d.ts",
"scripts": {
"clean": "rimraf -rf dist-umd dist-commonjs dist-esmodule dist-var types",
"build:commonjs": "tsc",
"build:esmodule": "tsc -m es6 --outDir dist-esmodule",
"build:umd": "webpack --display-error-details",
"build:var": "cross-env NODE_WEBPACK_LIBRARY_PATH=dist-var NODE_WEBPACK_LIBRARY_TARGET=var webpack",
"build:types": "dts-bundle-generator --umd-module-name basecomponent -o types/index.d.ts dist-esmodule/index.d.ts",
"build:docs": "rimraf -rf docs && typedoc --out docs --name basecomponent --theme default --ignoreCompilerErrors --experimentalDecorators --emitDecoratorMetadata --target ES6 --moduleResolution node --preserveConstEnums --stripInternal --suppressExcessPropertyErrors --suppressImplicitAnyIndexErrors --module commonjs src/ && touch docs/.nojekyll",
"build": "npm run clean && npm run build:commonjs && npm run build:esmodule && npm run build:umd && npm run build:var && npm run build:types",
"prepublishOnly": "npm run build && npm test",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iiif-commons/base-component.git"
},
"author": "@edsilv",
"license": "MIT",
"bugs": {
"url": "https://github.com/iiif-commons/base-component/issues"
},
"homepage": "https://github.com/iiif-commons/base-component#readme",
"devDependencies": {
"@types/jest": "^22.2.3",
"@types/node": "8.10.52",
"awesome-typescript-loader": "^5.2.1",
"cross-env": "^5.2.1",
"dts-bundle-generator": "^2.1.0",
"http": "0.0.0",
"jest": "^23.0.0",
"rimraf": "^3.0.0",
"ts-jest": "^22.4.6",
"typedoc": "0.14.0",
"typescript": "3.6.3",
"webpack": "^4.28.3",
"webpack-cli": "^3.1.2"
},
"dependencies": {},
"jest": {
"globals": {
"ts-jest": {
"enableTsDiagnostics": false
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testPathIgnorePatterns": [
"/node_modules/"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}