-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.43 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
{
"name": "@snowplow/webview-tracker",
"version": "0.3.1",
"description": "WebView tracker for Snowplow",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/snowplow-incubator/snowplow-webview-tracker"
},
"contributors": [
"Matus Tomlein"
],
"source": "src/index.ts",
"main": "dist/index.umd.js",
"module": "dist/index.modern.module.js",
"exports": {
"import": "./dist/index.modern.mjs",
"require": "./dist/index.umd.js"
},
"types": "dist/index.d.ts",
"scripts": {
"build": "microbundle",
"build-iife": "microbundle src/tag.ts -o dist/sp.js --name=snowplow --format=iife",
"dev": "microbundle watch",
"lint": "prettier src test -c",
"format": "prettier src test --write",
"prepack": "rm -rf dist && npm run build",
"release": "npm run prepack && source .env && npx np",
"test": "jest"
},
"files": [
"dist",
"src"
],
"peerDependencies": {},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"microbundle": "^0.15.1",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
}
}