@ericblade/quagga2 1.4.1 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +213 -213
- package/LICENSE +21 -21
- package/README.md +842 -836
- package/dist/quagga.js +3117 -2815
- package/dist/quagga.min.js +2 -2
- package/lib/quagga.js +3132 -2830
- package/package.json +183 -182
- package/tsconfig.json +37 -38
- package/type-definitions/quagga.d.ts +969 -969
package/package.json
CHANGED
|
@@ -1,182 +1,183 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ericblade/quagga2",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "An advanced barcode-scanner written in JavaScript",
|
|
5
|
-
"main": "lib/quagga.js",
|
|
6
|
-
"types": "type-definitions/quagga.d.ts",
|
|
7
|
-
"browser": "dist/quagga.min.js",
|
|
8
|
-
"devDependencies": {
|
|
9
|
-
"@babel/core": "^7.
|
|
10
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
11
|
-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.
|
|
12
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.
|
|
13
|
-
"@babel/plugin-proposal-optional-chaining": "^7.
|
|
14
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
15
|
-
"@babel/preset-env": "^7.
|
|
16
|
-
"@babel/preset-typescript": "^7.
|
|
17
|
-
"@babel/runtime": "^7.
|
|
18
|
-
"@cypress/code-coverage": "^3.9.
|
|
19
|
-
"@cypress/webpack-preprocessor": "5.
|
|
20
|
-
"@types/chai": "^4.
|
|
21
|
-
"@types/gl-vec2": "^1.3.
|
|
22
|
-
"@types/lodash": "^4.14.
|
|
23
|
-
"@types/mocha": "^5.2.7",
|
|
24
|
-
"@types/
|
|
25
|
-
"@types/sinon": "^
|
|
26
|
-
"@
|
|
27
|
-
"@typescript-eslint/
|
|
28
|
-
"
|
|
29
|
-
"babel-
|
|
30
|
-
"babel-plugin-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"eslint": "^
|
|
37
|
-
"eslint-config-airbnb-typescript": "^
|
|
38
|
-
"eslint-
|
|
39
|
-
"eslint-plugin-
|
|
40
|
-
"eslint-plugin-
|
|
41
|
-
"eslint-plugin-
|
|
42
|
-
"esm": "^3.2.25",
|
|
43
|
-
"mocha": "^5.2.0",
|
|
44
|
-
"nyc": "^15.1.0",
|
|
45
|
-
"sinon": "^
|
|
46
|
-
"sinon-chai": "^3.7.0",
|
|
47
|
-
"source-map-loader": "^1.1.1",
|
|
48
|
-
"ts-mocha": "^
|
|
49
|
-
"ts-node": "^10.
|
|
50
|
-
"typescript": "^4.
|
|
51
|
-
"webpack": "^4.44.2",
|
|
52
|
-
"webpack-cli": "^3.3.12"
|
|
53
|
-
},
|
|
54
|
-
"directories": {
|
|
55
|
-
"doc": "doc"
|
|
56
|
-
},
|
|
57
|
-
"scripts": {
|
|
58
|
-
"check-types": "tsc",
|
|
59
|
-
"precoverage": "npx rimraf .nyc_output coverage",
|
|
60
|
-
"coverage:node": "// DOES NOT WORK YET // npx cross-env NODE_ENV=test BUILD_ENV=development nyc --no-clean ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.*",
|
|
61
|
-
"coverage": "npm run cypress:run",
|
|
62
|
-
"cypress:open": "npx cross-env NODE_ENV=development BUILD_ENV=development cypress open --env BUILD_ENV=development",
|
|
63
|
-
"cypress:run": "npx cross-env NODE_ENV=test BUILD_ENV=development cypress run --env BUILD_ENV=development",
|
|
64
|
-
"test:browser-specific": "NOT WORKING -- something like npx cypress run --config testFiles=[browser]",
|
|
65
|
-
"test:browser-universal": "NOT WORKING -- something like npx cypress run --config testFiles=[universal]",
|
|
66
|
-
"test:browser-all": "npm run cypress:run",
|
|
67
|
-
"test:import": "mocha -r esm test/test-import.js",
|
|
68
|
-
"test:node": "npx cross-env NODE_ENV=test ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.* test/integration/integration.spec.ts",
|
|
69
|
-
"test:require": "mocha test/test-require",
|
|
70
|
-
"test:module": "npm run test:require && npm run test:import",
|
|
71
|
-
"test": "npm run cypress:run && npx cross-env NODE_ENV=test BUILD_ENV=development ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.* test/integration/integration.spec.ts",
|
|
72
|
-
"build:dev": "npx cross-env NODE_ENV=development BUILD_ENV=development webpack --config configs/webpack.config.js",
|
|
73
|
-
"build:prod": "npx cross-env NODE_ENV=production BUILD_ENV=production webpack --config configs/webpack.config.min.js",
|
|
74
|
-
"build:node": "npx cross-env NODE_ENV=production BABEL_ENV=commonjs BUILD_ENV=node webpack --config configs/webpack.node.config.js",
|
|
75
|
-
"build": "npm run check-types && npm run build:dev && npm run build:prod && npm run build:node",
|
|
76
|
-
"watch": "npx cross-env BUILD_ENV=development webpack --watch",
|
|
77
|
-
"lint": "eslint src",
|
|
78
|
-
"upgrade-deps": "npx npm-check-updates && npm install"
|
|
79
|
-
},
|
|
80
|
-
"repository": {
|
|
81
|
-
"type": "git",
|
|
82
|
-
"url": "https://github.com/ericblade/quagga2.git"
|
|
83
|
-
},
|
|
84
|
-
"bugs": {
|
|
85
|
-
"url": "https://github.com/ericblade/quagga2/issues"
|
|
86
|
-
},
|
|
87
|
-
"keywords": [
|
|
88
|
-
"quagga2",
|
|
89
|
-
"quagga",
|
|
90
|
-
"quaggajs",
|
|
91
|
-
"barcode",
|
|
92
|
-
"ean",
|
|
93
|
-
"code128",
|
|
94
|
-
"code39",
|
|
95
|
-
"codabar",
|
|
96
|
-
"i2of5",
|
|
97
|
-
"upc",
|
|
98
|
-
"getUserMedia",
|
|
99
|
-
"imageprocessing"
|
|
100
|
-
],
|
|
101
|
-
"author": "Eric Blade <blade.eric@gmail.com>",
|
|
102
|
-
"contributors": [
|
|
103
|
-
"Christoph Oberhofer <ch.oberhofer@gmail.com>",
|
|
104
|
-
"Lindsey Simon <elsigh@gmail.com>",
|
|
105
|
-
"dgreif <dustin.greif@gmail.com>",
|
|
106
|
-
"David Madner <david.madner@posteo.at>",
|
|
107
|
-
"Mario Zupan <mzupanmz@gmail.com>",
|
|
108
|
-
"Edson Alves <edson.alves@oppus>",
|
|
109
|
-
"Tomáš Hübelbauer <tomas@hubelbauer.net>",
|
|
110
|
-
"Dan Manastireanu <danmana11@yahoo.com>",
|
|
111
|
-
"E020873 <nicolas.henry-partner@arcelormittal.com>",
|
|
112
|
-
"José Pedro Silva <sobreiro.pedro@gmail.com>",
|
|
113
|
-
"Lasse Rafn <lasserafn@gmail.com>",
|
|
114
|
-
"Laszlo Radics <laszlo.radics@dpc.hu>",
|
|
115
|
-
"Martin Tillmann <mtillmann@gmail.com>",
|
|
116
|
-
"Matthias Jauernig <matthias.jauernig@partner.commerzbank.com>",
|
|
117
|
-
"Matthias Riegler <matthias@xvzf.tech>",
|
|
118
|
-
"Pierre-Louis Peeters <pierrelouis.peeters@gmail.com>",
|
|
119
|
-
"Rudolph Gottesheim <r.gottesheim@midnight-design.at>",
|
|
120
|
-
"Sean Hussey <sean@seanhussey.com>",
|
|
121
|
-
"Thomas <tricki@users.noreply.github.com>",
|
|
122
|
-
"jclarkin <j.r.clarkin@gmail.com>",
|
|
123
|
-
"kieat <kieat@users.noreply.github.com>",
|
|
124
|
-
"Esteban Morales <red_bandit_11@hotmail.com>",
|
|
125
|
-
"Ward Lootens <wardlootens@gmail.com>",
|
|
126
|
-
"Taylor Southwick <twsouthwick@outlook.com>",
|
|
127
|
-
"Youri Westerman <tetracon@gmail.com>",
|
|
128
|
-
"Stefano Calì <stefanocali@gmail.com>",
|
|
129
|
-
"Tony Brix <tony@brix.ninja>",
|
|
130
|
-
"Alex Howes <alex@alexhowes.co.uk>",
|
|
131
|
-
"Sudham Jayanthi <workwithsudham@gmail.com>",
|
|
132
|
-
"Ben Khoo <khoobks@gmail.com>"
|
|
133
|
-
],
|
|
134
|
-
"license": "MIT",
|
|
135
|
-
"engines": {
|
|
136
|
-
"node": ">= 10.0"
|
|
137
|
-
},
|
|
138
|
-
"dependencies": {
|
|
139
|
-
"@babel/polyfill": "^7.12.1",
|
|
140
|
-
"get-pixels": "^3.3.
|
|
141
|
-
"gl-mat2": "^1.0.1",
|
|
142
|
-
"gl-vec2": "^1.3.0",
|
|
143
|
-
"gl-vec3": "^1.1.3",
|
|
144
|
-
"lodash": "^4.17.21",
|
|
145
|
-
"ndarray": "^1.0.19",
|
|
146
|
-
"ndarray-linear-interpolate": "^1.0.0"
|
|
147
|
-
},
|
|
148
|
-
"nyc": {
|
|
149
|
-
"include": [
|
|
150
|
-
"src/**/*.ts",
|
|
151
|
-
"src/**/*.tsx",
|
|
152
|
-
"src/**/*.js",
|
|
153
|
-
"src/**/*.jsx"
|
|
154
|
-
],
|
|
155
|
-
"exclude": [
|
|
156
|
-
"**/*.spec.*"
|
|
157
|
-
],
|
|
158
|
-
"all": true,
|
|
159
|
-
"extension": [
|
|
160
|
-
".js",
|
|
161
|
-
".jsx",
|
|
162
|
-
".ts",
|
|
163
|
-
".tsx"
|
|
164
|
-
],
|
|
165
|
-
"require": [
|
|
166
|
-
"ts-node/register",
|
|
167
|
-
"babel-register"
|
|
168
|
-
],
|
|
169
|
-
"reporter": [
|
|
170
|
-
"text-summary",
|
|
171
|
-
"html"
|
|
172
|
-
],
|
|
173
|
-
"sourceMap": false,
|
|
174
|
-
"instrument": false
|
|
175
|
-
},
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ericblade/quagga2",
|
|
3
|
+
"version": "1.6.0",
|
|
4
|
+
"description": "An advanced barcode-scanner written in JavaScript",
|
|
5
|
+
"main": "lib/quagga.js",
|
|
6
|
+
"types": "type-definitions/quagga.d.ts",
|
|
7
|
+
"browser": "dist/quagga.min.js",
|
|
8
|
+
"devDependencies": {
|
|
9
|
+
"@babel/core": "^7.17.5",
|
|
10
|
+
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
11
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
|
|
12
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.17.3",
|
|
13
|
+
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
|
14
|
+
"@babel/plugin-transform-runtime": "^7.17.0",
|
|
15
|
+
"@babel/preset-env": "^7.16.11",
|
|
16
|
+
"@babel/preset-typescript": "^7.16.7",
|
|
17
|
+
"@babel/runtime": "^7.17.2",
|
|
18
|
+
"@cypress/code-coverage": "^3.9.12",
|
|
19
|
+
"@cypress/webpack-preprocessor": "5.11.1",
|
|
20
|
+
"@types/chai": "^4.3.0",
|
|
21
|
+
"@types/gl-vec2": "^1.3.2",
|
|
22
|
+
"@types/lodash": "^4.14.179",
|
|
23
|
+
"@types/mocha": "^5.2.7",
|
|
24
|
+
"@types/sinon": "^10.0.11",
|
|
25
|
+
"@types/sinon-chai": "^3.2.8",
|
|
26
|
+
"@typescript-eslint/eslint-plugin": "^5.13.0",
|
|
27
|
+
"@typescript-eslint/parser": "^5.13.0",
|
|
28
|
+
"babel-loader": "^8.2.3",
|
|
29
|
+
"babel-plugin-add-module-exports": "^1.0.4",
|
|
30
|
+
"babel-plugin-istanbul": "^6.1.1",
|
|
31
|
+
"chai": "^4.3.6",
|
|
32
|
+
"core-js": "^3.21.1",
|
|
33
|
+
"cross-env": "^7.0.3",
|
|
34
|
+
"cypress": "^4.12.1",
|
|
35
|
+
"eslint": "^8.10.0",
|
|
36
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
37
|
+
"eslint-config-airbnb-typescript": "^16.1.0",
|
|
38
|
+
"eslint-config-airbnb-typescript-base": "^3.0.1",
|
|
39
|
+
"eslint-plugin-import": "^2.25.4",
|
|
40
|
+
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
41
|
+
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
42
|
+
"esm": "^3.2.25",
|
|
43
|
+
"mocha": "^5.2.0",
|
|
44
|
+
"nyc": "^15.1.0",
|
|
45
|
+
"sinon": "^13.0.1",
|
|
46
|
+
"sinon-chai": "^3.7.0",
|
|
47
|
+
"source-map-loader": "^1.1.1",
|
|
48
|
+
"ts-mocha": "^9.0.2",
|
|
49
|
+
"ts-node": "^10.6.0",
|
|
50
|
+
"typescript": "^4.6.2",
|
|
51
|
+
"webpack": "^4.44.2",
|
|
52
|
+
"webpack-cli": "^3.3.12"
|
|
53
|
+
},
|
|
54
|
+
"directories": {
|
|
55
|
+
"doc": "doc"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"check-types": "tsc",
|
|
59
|
+
"precoverage": "npx rimraf .nyc_output coverage",
|
|
60
|
+
"coverage:node": "// DOES NOT WORK YET // npx cross-env NODE_ENV=test BUILD_ENV=development nyc --no-clean ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.*",
|
|
61
|
+
"coverage": "npm run cypress:run",
|
|
62
|
+
"cypress:open": "npx cross-env NODE_ENV=development BUILD_ENV=development cypress open --env BUILD_ENV=development",
|
|
63
|
+
"cypress:run": "npx cross-env NODE_ENV=test BUILD_ENV=development cypress run --env BUILD_ENV=development",
|
|
64
|
+
"test:browser-specific": "NOT WORKING -- something like npx cypress run --config testFiles=[browser]",
|
|
65
|
+
"test:browser-universal": "NOT WORKING -- something like npx cypress run --config testFiles=[universal]",
|
|
66
|
+
"test:browser-all": "npm run cypress:run",
|
|
67
|
+
"test:import": "mocha -r esm test/test-import.js",
|
|
68
|
+
"test:node": "npx cross-env NODE_ENV=test ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.* test/integration/integration.spec.ts",
|
|
69
|
+
"test:require": "mocha test/test-require",
|
|
70
|
+
"test:module": "npm run test:require && npm run test:import",
|
|
71
|
+
"test": "npm run cypress:run && npx cross-env NODE_ENV=test BUILD_ENV=development ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.* test/integration/integration.spec.ts",
|
|
72
|
+
"build:dev": "npx cross-env NODE_ENV=development BUILD_ENV=development webpack --config configs/webpack.config.js",
|
|
73
|
+
"build:prod": "npx cross-env NODE_ENV=production BUILD_ENV=production webpack --config configs/webpack.config.min.js",
|
|
74
|
+
"build:node": "npx cross-env NODE_ENV=production BABEL_ENV=commonjs BUILD_ENV=node webpack --config configs/webpack.node.config.js",
|
|
75
|
+
"build": "npm run check-types && npm run build:dev && npm run build:prod && npm run build:node",
|
|
76
|
+
"watch": "npx cross-env BUILD_ENV=development webpack --watch",
|
|
77
|
+
"lint": "eslint src",
|
|
78
|
+
"upgrade-deps": "npx npm-check-updates && npm install"
|
|
79
|
+
},
|
|
80
|
+
"repository": {
|
|
81
|
+
"type": "git",
|
|
82
|
+
"url": "https://github.com/ericblade/quagga2.git"
|
|
83
|
+
},
|
|
84
|
+
"bugs": {
|
|
85
|
+
"url": "https://github.com/ericblade/quagga2/issues"
|
|
86
|
+
},
|
|
87
|
+
"keywords": [
|
|
88
|
+
"quagga2",
|
|
89
|
+
"quagga",
|
|
90
|
+
"quaggajs",
|
|
91
|
+
"barcode",
|
|
92
|
+
"ean",
|
|
93
|
+
"code128",
|
|
94
|
+
"code39",
|
|
95
|
+
"codabar",
|
|
96
|
+
"i2of5",
|
|
97
|
+
"upc",
|
|
98
|
+
"getUserMedia",
|
|
99
|
+
"imageprocessing"
|
|
100
|
+
],
|
|
101
|
+
"author": "Eric Blade <blade.eric@gmail.com>",
|
|
102
|
+
"contributors": [
|
|
103
|
+
"Christoph Oberhofer <ch.oberhofer@gmail.com>",
|
|
104
|
+
"Lindsey Simon <elsigh@gmail.com>",
|
|
105
|
+
"dgreif <dustin.greif@gmail.com>",
|
|
106
|
+
"David Madner <david.madner@posteo.at>",
|
|
107
|
+
"Mario Zupan <mzupanmz@gmail.com>",
|
|
108
|
+
"Edson Alves <edson.alves@oppus>",
|
|
109
|
+
"Tomáš Hübelbauer <tomas@hubelbauer.net>",
|
|
110
|
+
"Dan Manastireanu <danmana11@yahoo.com>",
|
|
111
|
+
"E020873 <nicolas.henry-partner@arcelormittal.com>",
|
|
112
|
+
"José Pedro Silva <sobreiro.pedro@gmail.com>",
|
|
113
|
+
"Lasse Rafn <lasserafn@gmail.com>",
|
|
114
|
+
"Laszlo Radics <laszlo.radics@dpc.hu>",
|
|
115
|
+
"Martin Tillmann <mtillmann@gmail.com>",
|
|
116
|
+
"Matthias Jauernig <matthias.jauernig@partner.commerzbank.com>",
|
|
117
|
+
"Matthias Riegler <matthias@xvzf.tech>",
|
|
118
|
+
"Pierre-Louis Peeters <pierrelouis.peeters@gmail.com>",
|
|
119
|
+
"Rudolph Gottesheim <r.gottesheim@midnight-design.at>",
|
|
120
|
+
"Sean Hussey <sean@seanhussey.com>",
|
|
121
|
+
"Thomas <tricki@users.noreply.github.com>",
|
|
122
|
+
"jclarkin <j.r.clarkin@gmail.com>",
|
|
123
|
+
"kieat <kieat@users.noreply.github.com>",
|
|
124
|
+
"Esteban Morales <red_bandit_11@hotmail.com>",
|
|
125
|
+
"Ward Lootens <wardlootens@gmail.com>",
|
|
126
|
+
"Taylor Southwick <twsouthwick@outlook.com>",
|
|
127
|
+
"Youri Westerman <tetracon@gmail.com>",
|
|
128
|
+
"Stefano Calì <stefanocali@gmail.com>",
|
|
129
|
+
"Tony Brix <tony@brix.ninja>",
|
|
130
|
+
"Alex Howes <alex@alexhowes.co.uk>",
|
|
131
|
+
"Sudham Jayanthi <workwithsudham@gmail.com>",
|
|
132
|
+
"Ben Khoo <khoobks@gmail.com>"
|
|
133
|
+
],
|
|
134
|
+
"license": "MIT",
|
|
135
|
+
"engines": {
|
|
136
|
+
"node": ">= 10.0"
|
|
137
|
+
},
|
|
138
|
+
"dependencies": {
|
|
139
|
+
"@babel/polyfill": "^7.12.1",
|
|
140
|
+
"get-pixels": "^3.3.3",
|
|
141
|
+
"gl-mat2": "^1.0.1",
|
|
142
|
+
"gl-vec2": "^1.3.0",
|
|
143
|
+
"gl-vec3": "^1.1.3",
|
|
144
|
+
"lodash": "^4.17.21",
|
|
145
|
+
"ndarray": "^1.0.19",
|
|
146
|
+
"ndarray-linear-interpolate": "^1.0.0"
|
|
147
|
+
},
|
|
148
|
+
"nyc": {
|
|
149
|
+
"include": [
|
|
150
|
+
"src/**/*.ts",
|
|
151
|
+
"src/**/*.tsx",
|
|
152
|
+
"src/**/*.js",
|
|
153
|
+
"src/**/*.jsx"
|
|
154
|
+
],
|
|
155
|
+
"exclude": [
|
|
156
|
+
"**/*.spec.*"
|
|
157
|
+
],
|
|
158
|
+
"all": true,
|
|
159
|
+
"extension": [
|
|
160
|
+
".js",
|
|
161
|
+
".jsx",
|
|
162
|
+
".ts",
|
|
163
|
+
".tsx"
|
|
164
|
+
],
|
|
165
|
+
"require": [
|
|
166
|
+
"ts-node/register",
|
|
167
|
+
"babel-register"
|
|
168
|
+
],
|
|
169
|
+
"reporter": [
|
|
170
|
+
"text-summary",
|
|
171
|
+
"html"
|
|
172
|
+
],
|
|
173
|
+
"sourceMap": false,
|
|
174
|
+
"instrument": false
|
|
175
|
+
},
|
|
176
|
+
"@rollingversions": {
|
|
177
|
+
"versioningMode": "ALWAYS_INCREASING",
|
|
178
|
+
"versioning": "ALWAYS_INCREASING"
|
|
179
|
+
},
|
|
180
|
+
"publishConfig": {
|
|
181
|
+
"access": "public"
|
|
182
|
+
}
|
|
183
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,38 +1,37 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"noEmit": true,
|
|
4
|
-
"forceConsistentCasingInFileNames": true,
|
|
5
|
-
"noImplicitAny": true/* Raise error on expressions and declarations with an implied 'any' type. */,
|
|
6
|
-
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
|
|
7
|
-
"sourceMap": true /* Generates corresponding '.map' file. */,
|
|
8
|
-
"target": "es2015" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
|
|
9
|
-
"jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
|
|
10
|
-
"types": [
|
|
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
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"noEmit": true,
|
|
4
|
+
"forceConsistentCasingInFileNames": true,
|
|
5
|
+
"noImplicitAny": true/* Raise error on expressions and declarations with an implied 'any' type. */,
|
|
6
|
+
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
|
|
7
|
+
"sourceMap": true /* Generates corresponding '.map' file. */,
|
|
8
|
+
"target": "es2015" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
|
|
9
|
+
"jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
|
|
10
|
+
"types": [
|
|
11
|
+
"mocha",
|
|
12
|
+
] /* Type declaration files to be included in compilation. */,
|
|
13
|
+
"module": "esNext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
|
|
14
|
+
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
|
|
15
|
+
"experimentalDecorators": true /* Enables experimental support for ES7 decorators. */,
|
|
16
|
+
"declaration": false /* Generates corresponding '.d.ts' file. */,
|
|
17
|
+
"removeComments": true /* Do not emit comments to output. */,
|
|
18
|
+
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
|
|
19
|
+
"noUnusedLocals": true /* Report errors on unused locals. */,
|
|
20
|
+
"strict": true /* Enable all strict type-checking options. */,
|
|
21
|
+
"outDir": "dist" /* Redirect output structure to the directory. */,
|
|
22
|
+
"baseUrl": "src" /* Base directory to resolve non-absolute module names. */,
|
|
23
|
+
"typeRoots": [
|
|
24
|
+
"./type-definitions",
|
|
25
|
+
"node_modules/@types"
|
|
26
|
+
] /* List of folders to include type definitions from. */,
|
|
27
|
+
"strictNullChecks": true /* Enable strict null checks. */,
|
|
28
|
+
"allowJs": true /* Allow javascript files to be compiled. */,
|
|
29
|
+
"checkJs": false
|
|
30
|
+
},
|
|
31
|
+
"include": [
|
|
32
|
+
"./src/**/*"
|
|
33
|
+
],
|
|
34
|
+
"exclude": [
|
|
35
|
+
"**/browser/*.spec.*"
|
|
36
|
+
]
|
|
37
|
+
}
|