From a7b277e7018dd2e1d05278db9674da7b7fef21c3 Mon Sep 17 00:00:00 2001 From: Andrea Franz Date: Tue, 1 Dec 2020 13:48:24 +0100 Subject: [PATCH] rollback package.json --- package.json | 131 ++------------------------------------------------- 1 file changed, 4 insertions(+), 127 deletions(-) diff --git a/package.json b/package.json index 1e96159..66a4faf 100644 --- a/package.json +++ b/package.json @@ -1,135 +1,12 @@ { "name": "react-native-status-keycard", + "homepage": "https://keycard.status.im/", "version": "2.5.27", "description": "React Native library to interact with Status Keycard using NFC connection", - "main": "lib/commonjs/index", - "module": "lib/module/index", - "types": "lib/typescript/src/index.d.ts", - "react-native": "src/index", - "source": "src/index", - "files": [ - "src", - "lib", - "android", - "ios", - "cpp", - "react-native-status-keycard.podspec", - "!lib/typescript/example", - "!**/__tests__", - "!**/__fixtures__", - "!**/__mocks__" - ], + "main": "index.js", "scripts": { - "test": "jest", - "typescript": "tsc --noEmit", - "lint": "eslint \"**/*.{js,ts,tsx}\"", - "prepare": "bob build", - "release": "release-it", - "example": "yarn --cwd example", - "pods": "cd example && pod-install --quiet", - "bootstrap": "yarn example && yarn && yarn pods" + "test": "echo \"Error: no test specified\" && exit 1" }, - "keywords": [ - "react-native", - "ios", - "android" - ], - "repository": "https://github.com/status-im/react-native-status-keycard", "author": "Dmitry Novotochinov", - "license": "MPL 2.0", - "bugs": { - "url": "https://github.com/status-im/react-native-status-keycard/issues" - }, - "homepage": "https://github.com/status-im/react-native-status-keycard#readme", - "devDependencies": { - "@commitlint/config-conventional": "^8.3.4", - "@react-native-community/bob": "^0.16.2", - "@react-native-community/eslint-config": "^2.0.0", - "@release-it/conventional-changelog": "^1.1.4", - "@types/jest": "^26.0.0", - "@types/react": "^16.9.19", - "@types/react-native": "0.62.13", - "commitlint": "^8.3.5", - "eslint": "^7.2.0", - "eslint-config-prettier": "^6.11.0", - "eslint-plugin-prettier": "^3.1.3", - "husky": "^4.2.5", - "jest": "^26.0.1", - "pod-install": "^0.1.0", - "prettier": "^2.0.5", - "react": "16.11.0", - "react-native": "0.62.2", - "release-it": "^13.5.8", - "typescript": "^3.8.3" - }, - "peerDependencies": { - "react": "*", - "react-native": "*" - }, - "jest": { - "preset": "react-native", - "modulePathIgnorePatterns": [ - "/example/node_modules", - "/lib/" - ] - }, - "husky": { - "hooks": { - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", - "pre-commit": "yarn lint && yarn typescript" - } - }, - "commitlint": { - "extends": [ - "@commitlint/config-conventional" - ] - }, - "release-it": { - "git": { - "commitMessage": "chore: release ${version}", - "tagName": "v${version}" - }, - "npm": { - "publish": true - }, - "github": { - "release": true - }, - "plugins": { - "@release-it/conventional-changelog": { - "preset": "angular" - } - } - }, - "eslintConfig": { - "extends": [ - "@react-native-community", - "prettier" - ], - "rules": { - "prettier/prettier": [ - "error", - { - "quoteProps": "consistent", - "singleQuote": true, - "tabWidth": 2, - "trailingComma": "es5", - "useTabs": false - } - ] - } - }, - "eslintIgnore": ["node_modules/", "lib/"], - "prettier": { - "quoteProps": "consistent", - "singleQuote": true, - "tabWidth": 2, - "trailingComma": "es5", - "useTabs": false - }, - "@react-native-community/bob": { - "source": "src", - "output": "lib", - "targets": ["commonjs", "module", "typescript"] - } + "license": "MPL 2.0" }