Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 19 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,41 @@
"packages/*"
],
"scripts": {
"bootstrap": "lerna bootstrap && lerna link",
"start:ui": "lerna run --scope=@nervosnetwork/neuron-ui start",
"start": "concurrently \"cross-env BROWSER=none yarn run start:ui\" \"wait-on http://localhost:3000 && cd packages/neuron-wallet && yarn run start:dev\"",
"build": "lerna run build",
"clean": "lerna run clean",
"build": "lerna run --stream build",
"clean": "lerna run --stream clean",
"package": "yarn clean && yarn build && ./packages/neuron-wallet/script/package.sh",
"bootstrap": "lerna bootstrap && lerna link",
"lint": "lerna run lint",
"test": "lerna run --parallel test",
"precommit": "lerna run precommit",
"lint": "lerna run --stream lint",
"postinstall": "lerna run rebuild:nativemodules",
"db:migrate": "ts-node ./node_modules/.bin/typeorm migration:generate"
},
"husky": {
"hooks": {
"pre-commit": "lerna run --no-bail --stream precommit"
}
},
"devDependencies": {
"@cryptape/sdk-ts-config": "0.0.1",
"@types/jest": "24.0.11",
"@types/jest": "24.0.13",
"@typescript-eslint/eslint-plugin": "1.9.0",
"@typescript-eslint/parser": "1.9.0",
"concurrently": "4.1.0",
"cross-env": "5.2.0",
"cz-conventional-changelog": "2.1.0",
"eslint": "5.16.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "4.0.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-prettier": "3.0.1",
"eslint-plugin-react": "7.12.4",
"lerna": "3.13.2",
"nodemon": "1.18.11",
"prettier": "1.17.0",
"eslint-config-prettier": "4.3.0",
"eslint-plugin-import": "2.17.3",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-prettier": "3.1.0",
"eslint-plugin-react": "7.13.0",
"husky": "2.3.0",
"lerna": "3.14.1",
"nodemon": "1.19.1",
"prettier": "1.17.1",
"ts-jest": "24.0.2",
"typescript": "3.5.1",
"wait-on": "3.2.0"
Expand Down
31 changes: 15 additions & 16 deletions packages/neuron-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"license": "MIT",
"scripts": {
"start": "react-app-rewired start",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint": "eslint --fix --ext .tsx,.ts,.js src",
"test": "react-app-rewired test --env=jsdom --color",
"build": "react-app-rewired build",
"clean": "rimraf build/*",
Expand All @@ -32,38 +32,37 @@
},
"browserslist": ["last 2 chrome versions"],
"dependencies": {
"@types/node": "11.13.5",
"@types/react": "16.8.18",
"@types/react-dom": "16.8.4",
"@types/styled-components": "4.1.6",
"bootstrap": "4.3.1",
"dayjs": "1.8.12",
"dayjs": "1.8.14",
"grommet-icons": "4.2.0",
"history": "4.9.0",
"i18next": "15.0.5",
"node-sass": "4.12.0",
"i18next": "15.1.3",
"qrcode.react": "0.9.3",
"react": "16.8.6",
"react-bootstrap": "1.0.0-beta.8",
"react-bootstrap": "1.0.0-beta.9",
"react-dom": "16.8.6",
"react-i18next": "10.2.0",
"react-i18next": "10.11.0",
"react-router-dom": "5.0.0",
"react-scripts": "3.0.1",
"styled-components": "4.2.0"
"styled-components": "4.2.1"
},
"devDependencies": {
"@types/enzyme": "3.9.2",
"@types/enzyme": "3.9.3",
"@types/enzyme-adapter-react-16": "1.0.5",
"@types/node": "11.13.5",
"@types/qrcode.react": "0.8.2",
"@types/react": "16.8.19",
"@types/react-dom": "16.8.4",
"@types/react-router-dom": "4.3.3",
"@types/styled-components": "4.1.15",
"babel-jest": "24.8.0",
"enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.13.1",
"husky": "1.3.1",
"enzyme-adapter-react-16": "1.13.2",
"jest-styled-components": "6.3.1",
"jsqr": "1.2.0",
"lint-staged": "8.1.5",
"react-app-rewired": "2.1.1",
"lint-staged": "8.1.7",
"node-sass": "4.12.0",
"react-app-rewired": "2.1.3",
"rimraf": "2.6.3"
}
}
24 changes: 9 additions & 15 deletions packages/neuron-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,11 @@
"html:copy": "ncp ./src/startup/sync-block-task/index.html ./dist/startup/sync-block-task/index.html",
"clean": "rimraf dist/*",
"test": "jest --color",
"lint": "eslint 'src/**/*.{js,ts}'",
"package": "./script/package.sh",
"lint": "eslint --fix --ext .ts,.js src",
"precommit": "lint-staged",
"package": "./script/package.sh",
"rebuild:nativemodules": "electron-builder install-app-deps"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
Expand All @@ -52,23 +47,23 @@
]
},
"dependencies": {
"@nervosnetwork/ckb-sdk-core": "0.12.0",
"@nervosnetwork/ckb-sdk-core": "0.13.0",
"bip39": "3.0.2",
"chalk": "2.4.2",
"electron-prompt": "1.3.1",
"electron-window-state": "5.0.3",
"elliptic": "^6.4.1",
"i18next": "15.0.5",
"elliptic": "6.4.1",
"i18next": "15.1.3",
"reflect-metadata": "0.1.13",
"rxjs": "6.5.1",
"sha3": "2.0.1",
"rxjs": "6.5.2",
"sha3": "2.0.4",
"sqlite3": "4.0.8",
"typeorm": "0.2.17",
"uuid": "3.3.2",
"winston": "3.2.1"
},
"devDependencies": {
"@nervosnetwork/ckb-types": "0.12.0",
"@nervosnetwork/ckb-types": "0.13.0",
"@nervosnetwork/neuron-ui": "0.1.0",
"@types/bip39": "2.4.2",
"@types/electron-devtools-installer": "2.2.0",
Expand All @@ -79,8 +74,7 @@
"electron": "5.0.2",
"electron-builder": "20.41.0",
"electron-devtools-installer": "2.2.4",
"husky": "1.3.1",
"lint-staged": "8.1.5",
"lint-staged": "8.1.7",
"ncp": "2.0.0",
"rimraf": "2.6.3",
"spectron": "5.0.0"
Expand Down
Loading