forked from LedgerHQ/ledgerjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 2.42 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
{
"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); }\"",
"postinstall": "flow-mono create-symlinks packages/hw-transport/.flowconfig && flow-mono install-types --overwrite --ignoreDeps=peer && rm packages/*/flow-typed/npm/react-redux_v5.x.x.js || echo 'failed to setup flow-typed'",
"test": "yarn run build && lerna run test && yarn run lint && yarn run flow && yarn run prettier-diff",
"test-node": "cd packages/test && yarn run test-node",
"test-browser": "cd packages/test && yarn run test-browser",
"documentation": "documentation build packages/hw-*/src/** packages/react-native-*/src/** --project-name '@ledgerhq/*' --project-version `node -e \"console.log(require('./lerna.json').version)\"` --project-homepage https://github.com/LedgerHQ/ledgerjs --config documentation.yml -g -f html -o packages/documentation-website/public/docs",
"prettier": "prettier --write 'packages/*/src/**/*.js'",
"prettier-diff": "prettier --list-different 'packages/*/src/**/*.js'",
"lint": "eslint packages/**/src",
"flow": "lerna --concurrency 1 run flow & sleep 600 && killall flow",
"build": "BABEL_ENV=production && yarn run documentation && lerna run build",
"watch": "lerna run --parallel watch",
"clean": "rm -rf node_modules packages/*/node_modules/ packages/*/flow-typed/ packages/*/lib flow-typed",
"rebuild": "lerna run clean && lerna run build",
"publish": "yarn && lerna run clean && lerna run build && lerna publish --registry=https://registry.npmjs.org/"
},
"dependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.0.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-runtime": "^6.26.0",
"browserify": "^16.1.1",
"create-hash": "^1.1.3",
"documentation": "^6.1.0",
"eslint": "^4.11.0",
"eslint-config-prettier": "^2.7.0",
"eslint-plugin-flowtype": "^2.42.0",
"eslint-plugin-react": "^7.6.1",
"flow-bin": "^0.68.0",
"flow-copy-source": "^1.2.2",
"flow-mono-cli": "^1.3.0",
"flow-typed": "^2.4.0",
"lerna": "2.9.0",
"prettier": "^1.10.2",
"uglify-js": "^3.3.15"
}
}