-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 1.88 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
{
"name": "@0no-co/mixpanel-micro",
"description": "Tiny implementation of the Mixpanel browser API for modern browsers",
"version": "1.3.1",
"sideEffects": false,
"public": true,
"license": "MIT",
"author": "0no.co <[email protected]>",
"files": [
"LICENSE",
"README.md",
"dist/"
],
"main": "dist/mixpanel-micro.js",
"module": "dist/mixpanel-micro.mjs",
"types": "dist/mixpanel-micro.d.ts",
"source": "src/index.ts",
"exports": {
".": {
"types": "./dist/mixpanel-micro.d.ts",
"import": "./dist/mixpanel-micro.mjs",
"require": "./dist/mixpanel-micro.js",
"source": "./src/index.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/0no-co/mixpanel-micro",
"bugs": {
"url": "https://github.com/0no-co/mixpanel-micro/issues"
},
"scripts": {
"check": "tsc",
"build": "rollup -c scripts/rollup.config.mjs",
"test": "vitest",
"test:run": "vitest --run",
"prepublishOnly": "run-s check test:run build",
"prepare": "node ./scripts/prepare.js || true"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "es5"
},
"lint-staged": {
"*.{js,ts}": "prettier --write",
"*.json": "prettier --write",
"*.md": "prettier --write"
},
"devDependencies": {
"@babel/core": "^7.21.8",
"@babel/plugin-transform-block-scoping": "^7.21.0",
"@babel/plugin-transform-typescript": "^7.21.3",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.3",
"lint-staged": "^12.3.7",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.0",
"rollup": "^3.23.0",
"rollup-plugin-cjs-check": "^1.0.2",
"rollup-plugin-dts": "^5.3.0",
"typescript": "^5.0.4",
"vitest": "^0.32.0"
},
"publishConfig": {
"access": "public"
}
}