@reactionable/amplify
Version:
Reactionable package for Amplify
87 lines (86 loc) • 2.97 kB
JSON
{
"name": "@reactionable/amplify",
"version": "0.28.31",
"description": "Reactionable package for Amplify",
"files": [
"lib"
],
"type": "module",
"exports": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js"
},
"main": "lib/cjs/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"start": "yarn build:barrelsby && tsc --watch",
"jest": "NODE_OPTIONS=--experimental-vm-modules jest --detectOpenHandles --forceExit",
"test": "yarn jest --maxWorkers=50%",
"test:coverage": "yarn jest --coverage",
"build:pre": "yarn build:clean && yarn build:barrelsby",
"build": "yarn build:pre && yarn build:cjs -p tsconfig.build.json && yarn build:esm -p tsconfig.build.json",
"build:ci": "yarn build:pre && yarn build:cjs -p tsconfig.build.json && yarn build:esm -p tsconfig.build.json",
"build:clean": "rimraf lib",
"build:barrelsby": "barrelsby --noHeader -d src --exclude \".+\\.test\\..+\" --exclude \".+\\.stories\\..+\" --delete -q && yarn prettier --write src/index.ts",
"build:cjs": "mkdir -p lib/cjs && echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json && tsc --pretty --module commonjs --outDir lib/cjs/",
"build:esm": "mkdir -p lib/esm && echo '{\"type\": \"module\"}' > lib/esm/package.json && tsc --pretty --module esnext --outDir lib/esm/",
"build:docs": "typedoc --tsconfig tsconfig.build.json",
"lint": "eslint \"{src,stories}/**/*.{ts,tsx}\"",
"lint:ci": "yarn lint --output-file eslint-report.json --format json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reactionable/reactionable.git"
},
"keywords": [
"reactionable",
"react",
"framework",
"Amplify"
],
"author": "ESCEMI <developer@escemi.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/reactionable/reactionable/issues"
},
"homepage": "https://github.com/reactionable/reactionable#readme",
"dependencies": {
"@aws-amplify/ui-react": "^6.13.2",
"@reactionable/core": "^0.28.31",
"aws-amplify": "^6.15.9"
},
"publishConfig": {
"access": "public"
},
"gitHead": "23a18b1adc25e0183bfe7eade1fe0695744a36b4",
"jest": {
"preset": "ts-jest/presets/default-esm",
"testEnvironment": "jsdom",
"extensionsToTreatAsEsm": [
".ts",
".tsx"
],
"setupFilesAfterEnv": [
"<rootDir>/../../__tests__/jest.setup.ts"
],
"modulePathIgnorePatterns": [
"<rootDir>/lib/"
],
"moduleNameMapper": {
"^rxjs$": "<rootDir>/../../node_modules/rxjs/dist/cjs/index.js",
"^rxjs/(.*)$": "<rootDir>/../../node_modules/rxjs/dist/cjs/$1",
"\\.(css)$": "<rootDir>/__tests__/styleMock.js"
},
"testMatch": [
"**/?(*.)+(spec|test).+(ts|tsx|js)"
],
"globals": {
"ts-jest": {
"useESM": true,
"tsconfig": "../../tsconfig.jest.json",
"isolatedModules": true,
"diagnostics": false
}
}
}
}