-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
42 lines (42 loc) · 1.61 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
{
"name": "@batch.com/in-app-webview-sdk",
"version": "1.0.0",
"description": "Batch.com's In-App messaging webview SDK. It is meant to be used in webview formats, which is displayed using our mobile SDKs.",
"repository": "git://github.com/BatchLabs/Batch-In-App-WebView-SDK.git",
"main": "build/batch-webview-sdk.min.js",
"files": [
"build/batch-webview-sdk.min.js",
"build/batch-webview-sdk.min.js.map",
"build/index.d.ts"
],
"types": "build/index.d.ts",
"scripts": {
"ci": "npm run lint && npm run build-minified && npm run test",
"build": "mkdir -p build && cp src/index.d.ts build/index.d.ts && tsc",
"build-minified": "npm run build && terser -o build/batch-webview-sdk.min.js --source-map \"content='inline',filename='build/batch-webview-sdk.min.js.map'\" --compress --mangle -- build/batch-webview-sdk.js",
"format": "prettier --write \"src/**/*.{ts,js}\"",
"lint": "eslint \"src/**\"",
"lint-errors": "eslint \"src/**\" --quiet",
"eslint-fix": "eslint --fix \"src/**\" || true",
"serve": "node serve.js",
"test": "jest --collect-coverage",
"watch": "node watch.js"
},
"author": "Batch.com",
"license": "MIT",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"chokidar": "^3.4.3",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"express": "^4.17.1",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"terser": "^5.5.1",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
}
}