UNPKG

4.34 kBJSONView Raw
1{
2 "name": "microblink",
3 "version": "0.8.1",
4 "description": "",
5 "keywords": [],
6 "main": "dist/microblink.sdk.umd.js",
7 "module": "dist/microblink.sdk.es5.js",
8 "typings": "dist/types/microblink.d.ts",
9 "files": [
10 "dist"
11 ],
12 "author": "Matija Stepanic <matija.stepanic@microblink.com>",
13 "contributors": [
14 "Dragan Bezak <dragan.bezak@microblink.com>",
15 "Luka Vrtaric <luka.vrtaric@microblink.com>"
16 ],
17 "repository": {
18 "type": "git",
19 "url": "git@github.com:microblink/microblink-js.git"
20 },
21 "license": "MIT",
22 "engines": {
23 "node": ">=6.0.0"
24 },
25 "scripts": {
26 "lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
27 "prebuild": "rimraf dist",
28 "build": "tsc --module commonjs && rollup -c rollup.config.ts && ./build-README-at-docs.sh && typedoc --readme ./README-at-docs.md --out docs --target es6 --theme minimal --mode file src && cp sample/demo-at-docs.html docs/demo.html",
29 "start": "rollup -c rollup.config.ts -w",
30 "test": "jest --verbose",
31 "test:watch": "jest --watch",
32 "test:prod": "npm run lint && npm run test -- --coverage --no-cache",
33 "deploy-docs": "ts-node tools/gh-pages-publish",
34 "report-coverage": "cat ./coverage/lcov.info | coveralls",
35 "commit": "git-cz",
36 "semantic-release": "semantic-release",
37 "semantic-release-prepare": "ts-node tools/semantic-release-prepare",
38 "travis-deploy-once": "travis-deploy-once --pro",
39 "prepush": "npm run test:prod && npm run build"
40 },
41 "lint-staged": {
42 "{src,test}/**/*.ts": [
43 "prettier --write",
44 "git add"
45 ]
46 },
47 "config": {
48 "commitizen": {
49 "path": "node_modules/cz-conventional-changelog"
50 }
51 },
52 "jest": {
53 "transform": {
54 ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
55 },
56 "testEnvironment": "node",
57 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
58 "moduleFileExtensions": [
59 "ts",
60 "tsx",
61 "js"
62 ],
63 "testPathIgnorePatterns": [
64 "/scan/"
65 ],
66 "coveragePathIgnorePatterns": [
67 "/node_modules/",
68 "/test/"
69 ],
70 "coverageThreshold": {
71 "global": {
72 "branches": 0,
73 "functions": 0,
74 "lines": 0,
75 "statements": 0
76 }
77 },
78 "collectCoverage": false
79 },
80 "prettier": {
81 "semi": false,
82 "singleQuote": true
83 },
84 "commitlint": {
85 "extends": [
86 "@commitlint/config-conventional"
87 ]
88 },
89 "devDependencies": {
90 "@babel/core": "^7.8.3",
91 "@babel/plugin-transform-runtime": "^7.8.3",
92 "@babel/preset-env": "^7.8.3",
93 "@babel/runtime": "^7.8.3",
94 "@babel/runtime-corejs2": "^7.8.3",
95 "@commitlint/cli": "^8.3.5",
96 "@commitlint/config-conventional": "^7.6.0",
97 "@types/jest": "^22.0.0",
98 "@types/node": "^12.12.25",
99 "babel-plugin-transform-custom-element-classes": "^0.1.0",
100 "babel-preset-env": "^1.7.0",
101 "colors": "^1.4.0",
102 "commitizen": "^4.0.3",
103 "coveralls": "^3.0.9",
104 "cross-env": "^5.2.1",
105 "cz-conventional-changelog": "^2.0.0",
106 "husky": "^1.3.1",
107 "jest": "^24.9.0",
108 "lint-staged": "^7.3.0",
109 "lodash.camelcase": "^4.3.0",
110 "prettier": "^1.19.1",
111 "prompt": "^1.0.0",
112 "replace-in-file": "^3.4.4",
113 "rimraf": "^2.7.1",
114 "rollup": "^0.66.6",
115 "rollup-plugin-babel": "^4.3.3",
116 "rollup-plugin-commonjs": "^9.3.4",
117 "rollup-plugin-cpy": "^1.1.0",
118 "rollup-plugin-html": "^0.2.1",
119 "rollup-plugin-json": "^3.1.0",
120 "rollup-plugin-node-resolve": "^3.4.0",
121 "rollup-plugin-sourcemaps": "^0.4.2",
122 "rollup-plugin-terser": "^3.0.0",
123 "rollup-plugin-typescript2": "^0.13.0",
124 "semantic-release": "^15.14.0",
125 "travis-deploy-once": "^5.0.11",
126 "ts-jest": "^24.3.0",
127 "ts-node": "^6.2.0",
128 "tslib": "^1.11.0",
129 "tslint": "^5.20.1",
130 "tslint-config-prettier": "^1.18.0",
131 "tslint-config-standard": "^7.1.0",
132 "typedoc": "^0.15.8",
133 "typescript": "^3.7.5"
134 },
135 "publishConfig": {},
136 "husky": {
137 "hooks": {
138 "pre-commit": "lint-staged"
139 }
140 },
141 "dependencies": {
142 "@angular/common": "^8.2.14",
143 "@angular/core": "^8.2.14",
144 "blob-util": "^2.0.2",
145 "copy-to-clipboard": "^3.2.0",
146 "crypto-ts": "^1.0.2",
147 "lodash": "^4.17.15",
148 "rxjs": "^6.5.4",
149 "screenfull": "^5.0.1",
150 "zone.js": "^0.9.1"
151 }
152}