diff --git a/packages/status-core/.prettierignore b/packages/status-core/.prettierignore deleted file mode 100644 index 996c3a37..00000000 --- a/packages/status-core/.prettierignore +++ /dev/null @@ -1,2 +0,0 @@ -# package.json is formatted by package managers, so we ignore it here -package.json diff --git a/packages/status-core/package.json b/packages/status-core/package.json index 3e1158f5..48087646 100644 --- a/packages/status-core/package.json +++ b/packages/status-core/package.json @@ -18,29 +18,13 @@ "prebuild": "rm -rf dist", "build": "parcel build", "build:types": "tsc --emitDeclarationOnly", - "fix": "run-s 'fix:*'", - "fix:lint": "eslint src --ext .ts --fix", - "test": "run-s 'test:*'", - "test:lint": "eslint src --ext .ts", - "test:unit": "mocha", + "typecheck": "tsc --noEmit", + "lint": "eslint src", + "format": "prettier --write src", + "test": "mocha", "proto": "run-s 'proto:*'", "proto:lint": "buf lint", - "proto:build": "buf generate", - "typecheck": "tsc --noEmit" - }, - "devDependencies": { - "@types/bn.js": "^5.1.0", - "@types/chai": "^4.2.22", - "@types/elliptic": "^6.4.14", - "@types/mocha": "^9.0.0", - "@types/pbkdf2": "^3.1.0", - "@types/secp256k1": "^4.0.3", - "@types/uuid": "^8.3.3", - "chai": "^4.3.4", - "mocha": "^9.1.1", - "npm-run-all": "^4.1.5", - "ts-node": "^10.2.1", - "ts-proto": "^1.83.0" + "proto:build": "buf generate" }, "dependencies": { "bn.js": "^5.2.0", @@ -55,5 +39,19 @@ "protobufjs": "^6.11.2", "secp256k1": "^4.0.2", "uuid": "^8.3.2" + }, + "devDependencies": { + "@types/bn.js": "^5.1.0", + "@types/chai": "^4.2.22", + "@types/elliptic": "^6.4.14", + "@types/mocha": "^9.0.0", + "@types/pbkdf2": "^3.1.0", + "@types/secp256k1": "^4.0.3", + "@types/uuid": "^8.3.3", + "chai": "^4.3.4", + "mocha": "^9.1.1", + "npm-run-all": "^4.1.5", + "ts-node": "^10.2.1", + "ts-proto": "^1.83.0" } } diff --git a/packages/status-react/.mocharc.json b/packages/status-react/.mocharc.json deleted file mode 100644 index b65763d3..00000000 --- a/packages/status-react/.mocharc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extension": ["ts"], - "spec": "src/**/*.spec.ts", - "require": "ts-node/register", - "exit": true -} diff --git a/packages/status-react/.prettierignore b/packages/status-react/.prettierignore deleted file mode 100644 index 996c3a37..00000000 --- a/packages/status-react/.prettierignore +++ /dev/null @@ -1,2 +0,0 @@ -# package.json is formatted by package managers, so we ignore it here -package.json diff --git a/packages/status-react/buf.gen.yaml b/packages/status-react/buf.gen.yaml deleted file mode 100644 index 40edf963..00000000 --- a/packages/status-react/buf.gen.yaml +++ /dev/null @@ -1,6 +0,0 @@ -version: v1beta1 - -plugins: - - name: ts_proto - out: ./src/proto - opt: grpc_js,esModuleInterop=true diff --git a/packages/status-react/buf.yaml b/packages/status-react/buf.yaml deleted file mode 100644 index c7b2d892..00000000 --- a/packages/status-react/buf.yaml +++ /dev/null @@ -1,5 +0,0 @@ -version: v1beta1 - -build: - roots: - - ./proto diff --git a/packages/status-react/package.json b/packages/status-react/package.json index 7210b657..42609947 100644 --- a/packages/status-react/package.json +++ b/packages/status-react/package.json @@ -19,33 +19,9 @@ "prebuild": "rm -rf dist", "build": "parcel build", "build:types": "tsc --emitDeclarationOnly", - "fix": "run-s 'fix:*'", - "fix:lint": "eslint './{src,test}/**/*.{ts,tsx}' --fix", - "test": "run-s 'test:*'", - "test:lint": "eslint './{src,test}/**/*.{ts,tsx}'", - "proto": "run-s 'proto:*'", - "proto:lint": "buf lint", - "proto:build": "buf generate", - "typecheck": "tsc --noEmit" - }, - "devDependencies": { - "@types/chai": "^4.2.21", - "@types/emoji-mart": "^3.0.6", - "@types/hcaptcha__react-hcaptcha": "^0.1.5", - "@types/mocha": "^9.0.0", - "@types/node": "^16.9.6", - "@types/qrcode.react": "^1.0.2", - "@types/react": "^17.0.16", - "@types/styled-components": "^5.1.12", - "chai": "^4.3.4", - "copyfiles": "^2.4.1", - "jsdom": "^16.7.0", - "jsdom-global": "^3.0.2", - "mocha": "^9.0.3", - "npm-run-all": "^4.1.5", - "npm-watch": "^0.11.0", - "rimraf": "^3.0.2", - "ts-node": "^10.1.0" + "typecheck": "tsc --noEmit", + "lint": "eslint src", + "format": "prettier --write src" }, "dependencies": { "@status-im/core": "^0.0.0", @@ -59,5 +35,13 @@ "react-dom": "^17.0.2", "react-is": "^17.0.2", "styled-components": "^5.3.1" + }, + "devDependencies": { + "@types/emoji-mart": "^3.0.6", + "@types/hcaptcha__react-hcaptcha": "^0.1.5", + "@types/node": "^16.9.6", + "@types/qrcode.react": "^1.0.2", + "@types/react": "^17.0.16", + "@types/styled-components": "^5.1.12" } }