* Add "types" field to fix error when using "moduleResolution": "NodeNext". * Add changeset.
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"name": "@rrweb/types",
|
|
"version": "2.0.0-alpha.12",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"rrweb",
|
|
"@rrweb/types"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -noEmit && vite build",
|
|
"check-types": "tsc -noEmit",
|
|
"prepublish": "npm run build",
|
|
"lint": "yarn eslint src/**/*.ts"
|
|
},
|
|
"homepage": "https://github.com/rrweb-io/rrweb/tree/main/packages/@rrweb/types#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/rrweb-io/rrweb/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/rrweb-io/rrweb.git"
|
|
},
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "./dist/types.umd.cjs",
|
|
"module": "./dist/types.js",
|
|
"typings": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/types.js",
|
|
"require": "./dist/types.umd.cjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"build",
|
|
"dist"
|
|
],
|
|
"devDependencies": {
|
|
"vite": "^3.2.0-beta.2",
|
|
"vite-plugin-dts": "^1.7.3"
|
|
},
|
|
"dependencies": {
|
|
"rrweb-snapshot": "^2.0.0-alpha.12"
|
|
},
|
|
"browserslist": [
|
|
"supports es6-class"
|
|
]
|
|
}
|