react-rxjs/packages/utils/package.json
2021-04-08 10:46:10 +02:00

61 lines
2.3 KiB
JSON

{
"version": "0.8.2",
"repository": {
"type": "git",
"url": "git+https://github.com/re-rxjs/react-rxjs.git"
},
"license": "MIT",
"sideEffects": false,
"exports": "dist/utils.esm2019.js",
"module": "dist/utils.esm2017.js",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "tsdx watch",
"build": "yarn build:ts && yarn build:esm2017 && yarn build:esm2019 && yarn build:cjs:dev && yarn build:cjs:prod",
"build:esm2019": "esbuild src/index.tsx --bundle --outfile=./dist/utils.esm2019.js --target=es2019 --external:react --external:rxjs --external:@react-rxjs/core --format=esm --sourcemap",
"build:esm2017": "esbuild src/index.tsx --bundle --outfile=./dist/utils.esm2017.js --target=es2017 --external:react --external:rxjs --external:@react-rxjs/core --format=esm --sourcemap",
"build:cjs:dev": "esbuild src/index.tsx --bundle --outfile=./dist/utils.cjs.development.js --target=es2015 --external:react --external:rxjs --external:@react-rxjs/core --format=cjs --sourcemap",
"build:cjs:prod": "esbuild src/index.tsx --bundle --outfile=./dist/utils.cjs.production.min.js --target=es2015 --external:react --external:rxjs --external:@react-rxjs/core --format=cjs --minify --sourcemap",
"build:ts": "tsc -p ./tsconfig.json --outDir ./dist --skipLibCheck --emitDeclarationOnly",
"test": "tsdx test --coverage",
"lint": "prettier --check README.md && tsdx lint src",
"format": "prettier --write README.md \"src/**/*.{js,jsx,ts,tsx,json,md}\"",
"prepare": "yarn build"
},
"peerDependencies": {
"@react-rxjs/core": ">=0.1.0",
"react": ">=16.8.0",
"rxjs": ">=6"
},
"prettier": {
"printWidth": 80,
"semi": false,
"trailingComma": "all"
},
"name": "@react-rxjs/utils",
"authors": [
"Josep M Sobrepere (https://github.com/josepot)",
"Victor Oliva (https://github.com/voliva)"
],
"devDependencies": {
"@react-rxjs/core": "0.7.1",
"@testing-library/react": "^11.2.6",
"@testing-library/react-hooks": "^5.1.1",
"@types/jest": "^26.0.22",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"jest-marbles": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rxjs": "^6.6.7",
"tsdx": "^0.14.1",
"tslib": "^2.1.0",
"typescript": "^4.2.3"
}
}