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 0644bfa3db
commit 5338e8a080
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
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", "prebuild": "rm -rf dist",
"build": "parcel build", "build": "parcel build",
"build:types": "tsc --emitDeclarationOnly", "build:types": "tsc --emitDeclarationOnly",
"fix": "run-s 'fix:*'", "typecheck": "tsc --noEmit",
"fix:lint": "eslint src --ext .ts --fix", "lint": "eslint src",
"test": "run-s 'test:*'", "format": "prettier --write src",
"test:lint": "eslint src --ext .ts", "test": "mocha",
"test:unit": "mocha",
"proto": "run-s 'proto:*'", "proto": "run-s 'proto:*'",
"proto:lint": "buf lint", "proto:lint": "buf lint",
"proto:build": "buf generate", "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"
}, },
"dependencies": { "dependencies": {
"bn.js": "^5.2.0", "bn.js": "^5.2.0",
@ -55,5 +39,19 @@
"protobufjs": "^6.11.2", "protobufjs": "^6.11.2",
"secp256k1": "^4.0.2", "secp256k1": "^4.0.2",
"uuid": "^8.3.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", "prebuild": "rm -rf dist",
"build": "parcel build", "build": "parcel build",
"build:types": "tsc --emitDeclarationOnly", "build:types": "tsc --emitDeclarationOnly",
"fix": "run-s 'fix:*'", "typecheck": "tsc --noEmit",
"fix:lint": "eslint './{src,test}/**/*.{ts,tsx}' --fix", "lint": "eslint src",
"test": "run-s 'test:*'", "format": "prettier --write src"
"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"
}, },
"dependencies": { "dependencies": {
"@status-im/core": "^0.0.0", "@status-im/core": "^0.0.0",
@ -59,5 +35,13 @@
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-is": "^17.0.2", "react-is": "^17.0.2",
"styled-components": "^5.3.1" "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"
} }
} }