forked from unlock-protocol/unlock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.79 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
{
"name": "@unlock-protocol/unlock-js",
"version": "0.19.2",
"description": "This module provides libraries to include Unlock APIs inside a Javascript application.",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/unlock-protocol/unlock.git"
},
"scripts": {
"pretest": "yarn build && node ./src/__tests__/setup/prepare-ganache-for-unlock.js",
"test": "jest",
"lint": "eslint --ext .tsx,.ts,.js src/",
"build-esm": "BABEL_ENV=esm ./node_modules/.bin/babel src --ignore src/__tests__ --out-dir esm",
"build-cjs": "BABEL_ENV=cjs ./node_modules/.bin/babel src --ignore src/__tests__ --out-dir lib",
"build": "yarn clean && node ./scripts/compressAbi.js && yarn build-cjs && yarn build-esm",
"clean": "rm -rf lib/ && rm -rf esm/",
"ci": "yarn test && yarn lint",
"prepublishOnly": "yarn build",
"ganache": "ganache-cli --mnemonic \"hello unlock save the web\" -b 1"
},
"author": "Unlock Inc",
"license": "MIT",
"peerDependencies": {
"cross-fetch": "3.1.4",
"ethers": "5.3.0"
},
"browserslist": "> 0.25%, not dead",
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
]
},
"devDependencies": {
"@babel/cli": "7.14.3",
"@babel/core": "7.14.3",
"@babel/preset-env": "7.14.4",
"@unlock-protocol/unlock-abi-4": "1.1.1",
"@unlock-protocol/unlock-abi-6": "1.0.2",
"@unlock-protocol/unlock-abi-7": "1.0.3",
"@unlock-protocol/unlock-abi-8": "1.0.0",
"@unlock-protocol/unlock-abi-9": "1.0.0",
"babel-jest": "27.0.2",
"cross-fetch": "3.1.4",
"eslint": "7.28.0",
"ethers": "5.3.0",
"jest": "26.6.3",
"lint-staged": "11.0.0",
"prettier": "2.3.0",
"ts-jest": "26.5.6",
"typescript": "4.3.2"
}
}