Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab-components/package.json
{ | { | ||||
"name": "cashtab-components", | "name": "cashtab-components", | ||||
"version": "0.0.4", | "version": "0.0.4", | ||||
"description": "Integrate the Cashtab Wallet into your React app with ease.", | "description": "Integrate the Cashtab Wallet into your React app with ease.", | ||||
"main": "dist/index", | "main": "dist/index", | ||||
"typings": "dist/index", | "typings": "dist/index", | ||||
"peerDependencies": { | "peerDependencies": { | ||||
"react": "^17.0.1", | "react": "^17.0.1", | ||||
"react-dom": "^17.0.1" | "react-dom": "^17.0.1" | ||||
}, | }, | ||||
"dependencies": { | "dependencies": { | ||||
"@babel/preset-typescript": "^7.12.7", | |||||
"@testing-library/jest-dom": "^5.11.4", | "@testing-library/jest-dom": "^5.11.4", | ||||
"@testing-library/react": "^11.1.0", | "@testing-library/react": "^11.1.0", | ||||
"@testing-library/user-event": "^12.1.10", | "@testing-library/user-event": "^12.1.10", | ||||
"@types/jest": "^26.0.15", | |||||
"@types/node": "^12.0.0", | "@types/node": "^12.0.0", | ||||
"@types/react": "^16.9.53", | "@types/react": "^16.9.53", | ||||
"@types/react-dom": "^16.9.8", | "@types/react-dom": "^16.9.8", | ||||
"bignumber.js": "^9.0.1", | "bignumber.js": "^9.0.1", | ||||
"qrcode.react": "^1.0.0", | "qrcode.react": "^1.0.0", | ||||
"react": "^17.0.1", | "react": "^17.0.1", | ||||
"react-dom": "^17.0.1", | "react-dom": "^17.0.1", | ||||
"react-scripts": "4.0.1", | "react-scripts": "4.0.1", | ||||
"styled-components": "4.4.1", | "styled-components": "4.4.1", | ||||
"typescript": "^4.0.3", | "typescript": "^4.0.3", | ||||
"web-vitals": "^0.2.4", | "web-vitals": "^0.2.4", | ||||
"webpack": "^4.44.2", | "webpack": "^4.44.2", | ||||
"webpack-bundle-analyzer": "^4.3.0", | "webpack-bundle-analyzer": "^4.3.0", | ||||
"webpack-cli": "^4.3.0" | "webpack-cli": "^4.3.0" | ||||
}, | }, | ||||
"scripts": { | "scripts": { | ||||
"start": "npm run storybook", | "start": "npm run storybook", | ||||
"build": "rm -rf dist/ && webpack --mode=production", | "build": "rm -rf dist/ && webpack --mode=production", | ||||
"prepublish": "npm run build", | "prepublish": "npm run build", | ||||
"test": "react-scripts test", | "test": "jest", | ||||
"eject": "react-scripts eject", | "eject": "react-scripts eject", | ||||
"storybook": "start-storybook -p 6006 -s public", | "storybook": "start-storybook -p 6006 -s public", | ||||
"build-storybook": "build-storybook -s public" | "build-storybook": "build-storybook -s public" | ||||
}, | }, | ||||
"repository": { | "repository": { | ||||
"type": "git", | "type": "git", | ||||
"url": "git+https://github.com/josephroyking/cashtab-components.git" | "url": "git+https://github.com/josephroyking/cashtab-components.git" | ||||
}, | }, | ||||
Show All 27 Lines | "browserslist": { | ||||
], | ], | ||||
"development": [ | "development": [ | ||||
"last 1 chrome version", | "last 1 chrome version", | ||||
"last 1 firefox version", | "last 1 firefox version", | ||||
"last 1 safari version" | "last 1 safari version" | ||||
] | ] | ||||
}, | }, | ||||
"devDependencies": { | "devDependencies": { | ||||
"@babel/core": "^7.12.10", | |||||
"@babel/preset-env": "^7.12.11", | |||||
"@storybook/addon-actions": "^6.1.11", | "@storybook/addon-actions": "^6.1.11", | ||||
"@storybook/addon-essentials": "^6.1.11", | "@storybook/addon-essentials": "^6.1.11", | ||||
"@storybook/addon-knobs": "^6.1.11", | "@storybook/addon-knobs": "^6.1.11", | ||||
"@storybook/addon-links": "^6.1.11", | "@storybook/addon-links": "^6.1.11", | ||||
"@storybook/addons": "^6.1.11", | "@storybook/addons": "^6.1.11", | ||||
"@storybook/node-logger": "^6.1.11", | "@storybook/node-logger": "^6.1.11", | ||||
"@storybook/preset-create-react-app": "^3.1.5", | "@storybook/preset-create-react-app": "^3.1.5", | ||||
"@storybook/react": "^6.1.11", | "@storybook/react": "^6.1.11", | ||||
"@storybook/theming": "^6.1.11", | "@storybook/theming": "^6.1.11", | ||||
"@types/jest": "^26.0.19", | |||||
"@types/lodash": "^4.14.165", | "@types/lodash": "^4.14.165", | ||||
"@types/qrcode.react": "^1.0.1", | "@types/qrcode.react": "^1.0.1", | ||||
"@types/styled-components": "^5.1.7", | "@types/styled-components": "^5.1.7", | ||||
"babel-jest": "^26.6.3", | |||||
"jest": "^26.6.0", | |||||
"jest-environment-jsdom-fifteen": "^1.0.2", | |||||
"ts-loader": "^8.0.12" | "ts-loader": "^8.0.12" | ||||
}, | |||||
"jest": { | |||||
"roots": [ | |||||
"<rootDir>/src" | |||||
], | |||||
"setupFiles": [ | |||||
"react-app-polyfill/jsdom" | |||||
], | |||||
"testMatch": [ | |||||
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}", | |||||
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}" | |||||
], | |||||
"testEnvironment": "jest-environment-jsdom-fifteen", | |||||
"transform": { | |||||
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest" | |||||
}, | |||||
"transformIgnorePatterns": [ | |||||
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$", | |||||
"^.+\\.module\\.(css|sass|scss)$" | |||||
], | |||||
"moduleNameMapper": { | |||||
".+\\.(css|styl|less|sass|scss|png|jpg|svg|ttf|woff|woff2)$": "identity-obj-proxy" | |||||
} | |||||
} | } | ||||
} | } |