-
-
Notifications
You must be signed in to change notification settings - Fork 244
/
package.json
101 lines (101 loc) · 2.95 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "@analytics/core",
"version": "0.12.15",
"description": "Lightweight analytics library for tracking events, page views, & identifying users. Works with any third party analytics provider via an extendable plugin system.",
"keywords": [
"analytics",
"analytics-project",
"metrics",
"telemetry",
"stats"
],
"funding": [
{
"type": "GitHub Sponsors",
"url": "https://github.com/sponsors/davidwells"
}
],
"author": "David Wells <hello@davidwells.io>",
"license": "MIT",
"amdName": "_analytics",
"source": "src/index.js",
"main": "dist/server/analytics-core.js",
"module": "dist/server/analytics-core.module.js",
"unpkg": "dist/server/analytics-core.umd.js",
"types": "dist/types.d.ts",
"browser": {
"./dist/server/analytics-core.js": "./dist/client/analytics-core.js",
"./dist/server/analytics-core.umd.js": "./dist/client/analytics-core.umd.js",
"./dist/server/analytics-core.module.js": "./dist/client/analytics-core.module.js"
},
"sideEffects": false,
"scripts": {
"test": "ava -v",
"test:watch": "ava -v --watch",
"prebuild": "rimraf dist _temp-types",
"build": "npm run build-client && npm run build-server && npm run types",
"build-client": "cd client && npm run build",
"build-server": "cd server && npm run build",
"types": "../../node_modules/.bin/jsdoc -t ../../node_modules/tsd-jsdoc/dist -r ./src/ -d _temp-types && node scripts/types.js",
"publish": "git push origin && git push origin --tags",
"release:patch": "npm version patch && npm publish",
"release:minor": "npm version minor && npm publish",
"release:major": "npm version major && npm publish"
},
"repository": {
"type": "git",
"url": "https://github.com/DavidWells/analytics"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"dist/**/package.json",
"client/**/*.js",
"client/**/*.js.map",
"client/**/*.d.ts",
"client/**/package.json",
"!client/node_modules",
"server/**/*.js",
"server/**/*.js.map",
"server/**/*.d.ts",
"server/**/package.json",
"!server/node_modules",
"README.md"
],
"dependencies": {
"@analytics/global-storage-utils": "^0.1.7",
"@analytics/type-utils": "^0.6.2",
"analytics-utils": "^1.0.12"
},
"ava": {
"files": [
"**/**/*.test.js"
],
"require": [
"esm",
"@babel/register",
"./tests/_setup.js"
],
"verbose": true,
"failFast": true,
"sources": [
"**/*.{js,jsx}"
]
},
"devDependencies": {
"@babel/core": "7.17.0",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/plugin-transform-runtime": "7.17.0",
"@babel/preset-env": "7.16.11",
"@babel/register": "7.17.0",
"@babel/runtime": "7.17.0",
"ava": "^2.2.0",
"gen-esm-wrapper": "^1.1.3",
"microbundle": "^0.14.2",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.5",
"rimraf": "^2.6.3",
"sinon": "7.2.3"
}
}