-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
62 lines (62 loc) · 1.9 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
{
"name": "batchsdk-cordova-builder",
"version": "1.0.0",
"description": "Builder for the Batch SDK Cordova plugin",
"private": true,
"scripts": {
"build": "cp types/index.d.ts dist/index.d.ts && webpack --mode production",
"lint": "eslint src/* types/* --ext .ts",
"lint-fix": "eslint --fix src/* types/* --ext .ts",
"test": "jest",
"emu-android": "cd testapp && ../node_modules/.bin/cordova emulate android",
"emu-ios": "cd testapp && ../node_modules/.bin/cordova emulate ios",
"update-testapp-plugin": "cd testapp && ../node_modules/.bin/cordova plugin rm com.batch.cordova && rm -rf platforms/android/app/src/main/java/com/batch/cordova/android && ../node_modules/.bin/cordova plugin add ../dist --nofetch && rm -f ../dist/package-lock.json"
},
"jest": {
"globals": {
"ts-jest": {
"tsconfig": "__tests__/tsconfig.json"
}
},
"moduleFileExtensions": [
"js",
"json",
"jsx",
"node",
"ts",
"tsx"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?|jsx?)$",
"collectCoverage": false,
"coverageDirectory": ".coverage",
"collectCoverageFrom": [
"src/**/*.{ts,js}",
"!src/**/*.d.ts"
],
"setupFiles": [
"./__mocks__/setup.ts"
],
"testMatch": null,
"preset": "ts-jest"
},
"author": "Batch.com",
"license": "MIT",
"dependencies": {
"@types/cordova": "^11.0.3",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.37",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"cordova": "^12.0.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"plugman": "^3.0.1",
"prettier": "^2.2.1",
"ts-jest": "^26.5.4",
"ts-loader": "^4.0.0",
"typescript": "4.4",
"webpack": "^5.93.0",
"webpack-cli": "^4.6.0"
}
}