Remove unused files and cleanup package.json (#230)

* Remove unused files

* Cleanup package.json scripts and deps

* Reorder package.json fields
This commit is contained in:
Pavel 2022-02-25 00:02:30 +01:00 committed by GitHub
parent fd8d494f24
commit 6157a5757a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 30 additions and 69 deletions

View File

@ -1,2 +0,0 @@
# package.json is formatted by package managers, so we ignore it here
package.json

View File

@ -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"
}
}

View File

@ -1,6 +0,0 @@
{
"extension": ["ts"],
"spec": "src/**/*.spec.ts",
"require": "ts-node/register",
"exit": true
}

View File

@ -1,2 +0,0 @@
# package.json is formatted by package managers, so we ignore it here
package.json

View File

@ -1,6 +0,0 @@
version: v1beta1
plugins:
- name: ts_proto
out: ./src/proto
opt: grpc_js,esModuleInterop=true

View File

@ -1,5 +0,0 @@
version: v1beta1
build:
roots:
- ./proto

View File

@ -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"
}
}