This repository has been archived by the owner on Feb 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
76 lines (76 loc) · 2.86 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"private": true,
"name": "ledger-libs",
"version": "0.0.0",
"workspaces": [
"packages/*"
],
"scripts": {
"preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') === -1) { console.log('\u001b[31mPlease use yarn\u001b[0m'); process.exit(1); }\"",
"prettier": "prettier --write 'packages/*/src/**/*.?s'",
"test": "yarn run build && yarn run lint && yarn run doc && jest",
"test-no-git-diff": "git diff --exit-code || exit 1",
"doc": "lerna run doc",
"lint": "eslint packages/**/src --no-error-on-unmatched-pattern --ext .js,jsx && eslint packages/**/src --no-error-on-unmatched-pattern --ext .ts,.tsx -c .eslintrc.ts.js",
"flow-install": "flow-mono create-symlinks packages/hw-transport/.flowconfig && flow-mono install-types --ignoreDeps=peer || echo 'failed to setup flow-typed'",
"flow": "lerna --ignore @ledgerhq/test --concurrency 1 run flow",
"build": "BABEL_ENV=production && lerna run build",
"watch": "lerna run --parallel watch",
"clean": "rm -rf node_modules packages/*/node_modules/ packages/*/flow-typed/ packages/*/lib packages/*/dist flow-typed",
"rebuild": "lerna run clean && lerna run build",
"publish": "yarn && lerna run clean && lerna run build && lerna publish --registry=https://registry.npmjs.org/"
},
"jest": {
"collectCoverage": true,
"testPathIgnorePatterns": [
"packages/.*/lib-es",
"packages/.*/lib",
"packages/.*/dist"
],
"coveragePathIgnorePatterns": [
"packages/create-dapp"
],
"collectCoverageFrom": [
"packages/**/src/*.js",
"packages/**/src/*.ts"
]
},
"devDependencies": {
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-export-default-from": "^7.12.1",
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.12.7",
"@babel/preset-flow": "^7.12.1",
"@rollup/plugin-node-resolve": "^11.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"browserify": "^17.0.0",
"create-hash": "^1.1.3",
"documentation": "^13.1.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-prettier": "^3.2.0",
"eslint-plugin-react": "^7.21.5",
"flow-bin": "^0.138.0",
"flow-copy-source": "^2.0.8",
"flow-mono-cli": "^1.5.3",
"flow-typed": "^2.6.1",
"jest": "^26.6.3",
"lerna": "3.22.1",
"prettier": "^2.2.1",
"rollup": "^2.34.1",
"rollup-plugin-typescript2": "^0.29.0",
"typescript": "^4.1.2",
"uglify-js": "^3.12.1"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"js-levenshtein": "^1.1.6"
}
}