forked from MetaMask/mobile-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 2.46 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "@metamask/mobile-provider",
"version": "2.1.0",
"main": "dist/index.js",
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "yarn build:prep && yarn build:inpage && yarn build:contentscript && yarn build:concat && yarn build:bundle",
"build:prep": "mkdir -p dist && rm -rf dist/*",
"build:inpage": "cd src/inpage && webpack --config webpack.config.js",
"build:contentscript": "node src/content-script/build.js",
"build:concat": "concat-cli -f dist/inpage-bundle.js src/content-script/index.js -o dist/index-raw.js",
"build:bundle": "webpack --config webpack.config.js",
"build:dev": "yarn build:prep && yarn build:dev:inpage && yarn build:contentscript && yarn build:concat && yarn build:dev:bundle",
"build:dev:inpage": "cd src/inpage && webpack --mode=development --config webpack.config.js",
"build:dev:bundle": "webpack --mode=development --config webpack.config.js",
"lint:eslint": "eslint . --cache --ext js,ts",
"lint:misc": "prettier '**/*.json' '**/*.md' '**/*.yml' --single-quote --ignore-path .gitignore",
"lint": "yarn lint:eslint && yarn lint:misc --check",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"prepublishOnly": "yarn build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MetaMask/mobile-provider.git"
},
"author": "MetaMask",
"license": "ISC",
"description": "The JavaScript injected into every web page in the MetaMask Mobile browser.",
"bugs": {
"url": "https://github.com/MetaMask/mobile-provider/issues"
},
"homepage": "https://github.com/MetaMask/mobile-provider#readme",
"files": [
"dist/index.js"
],
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/preset-env": "^7.12.7",
"@metamask/eslint-config": "^6.0.0",
"@metamask/eslint-config-nodejs": "^6.0.0",
"@metamask/inpage-provider": "^8.0.3",
"@metamask/object-multiplex": "^1.1.0",
"babel-loader": "^8.0.6",
"concat-cli": "^4.0.0",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"prettier": "^2.3.0",
"pump": "^3.0.0",
"readable-stream": "^2.3.7",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.10"
}
}