react-rxjs/packages/dom/package.json
2023-08-04 14:00:38 +02:00

60 lines
2.2 KiB
JSON

{
"version": "0.1.10",
"repository": {
"type": "git",
"url": "git+https://github.com/re-rxjs/react-rxjs.git"
},
"license": "MIT",
"sideEffects": false,
"exports": {
".": {
"node": {
"module": "./dist/dom.es2017.js",
"import": "./dist/dom.es2019.mjs",
"require": "./dist/index.cjs"
},
"types": "./dist/index.d.ts",
"default": "./dist/dom.es2017.js"
},
"./package.json": "./package.json"
},
"module": "./dist/dom.es2017.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "tsdx watch",
"build": "npm run build:ts && npm run build:esm2017 && npm run build:esm2019 && npm run build:cjs:dev && npm run build:cjs:prod",
"build:esm2019": "esbuild src/index.tsx --bundle --outfile=./dist/dom.es2019.mjs --target=es2019 --external:react --external:rxjs --external:react-dom --format=esm --sourcemap",
"build:esm2017": "esbuild src/index.tsx --bundle --outfile=./dist/dom.es2017.js --target=es2017 --external:react --external:rxjs --external:react-dom --format=esm --sourcemap",
"build:cjs:dev": "esbuild src/index.tsx --bundle --outfile=./dist/dom.cjs.development.js --target=es2015 --external:react --external:rxjs --external:react-dom --format=cjs --sourcemap",
"build:cjs:prod": "esbuild src/index.tsx --bundle --outfile=./dist/dom.cjs.production.min.js --target=es2015 --external:react --external:rxjs --external:react-dom --format=cjs --minify --sourcemap",
"build:ts": "tsc -p ./tsconfig.json --outDir ./dist --skipLibCheck --emitDeclarationOnly",
"test": "vitest run --coverage",
"test:watch": "vitest watch",
"lint": "prettier --check README.md \"src/**/*.{js,jsx,ts,tsx,json,md}\"",
"format": "prettier --write README.md \"src/**/*.{js,jsx,ts,tsx,json,md}\"",
"prepack": "npm run build"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"rxjs": ">=6"
},
"prettier": {
"printWidth": 80,
"semi": false,
"trailingComma": "all"
},
"name": "@react-rxjs/dom",
"authors": [
"Josep M Sobrepere (https://github.com/josepot)",
"Victor Oliva (https://github.com/voliva)"
],
"devDependencies": {
"@react-rxjs/core": "0.10.7"
}
}