forked from LedgerHQ/ledgerjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.87 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.10",
"@babel/core": "^7.12.10",
"@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.11",
"@babel/preset-flow": "^7.12.1",
"@rollup/plugin-node-resolve": "^11.2.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"browserify": "^17.0.0",
"create-hash": "^1.1.3",
"documentation": "^13.1.1",
"eslint": "^7.21.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-flowtype": "^5.3.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"flow-bin": "^0.146.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.41.2",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.2.3",
"uglify-js": "^3.13.1"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"js-levenshtein": "^1.1.6"
}
}