commons/package.json

87 lines
3.1 KiB
JSON

{
"name": "commons",
"description": "Ocean Protocol marketplace to explore, download, and publish open data sets.",
"version": "0.5.4",
"license": "Apache-2.0",
"scripts": {
"install": "./scripts/install.sh",
"start": "concurrently \"cd client && npm start\" \"cd server && npm start\"",
"start:commons-and-ganache": "concurrently 'npm run start:ganache' 'npm run start'",
"build": "./scripts/build.sh",
"test": "npm run lint && scripts/test.sh",
"test:e2e": "start-test start:commons-and-ganache http-get://localhost:3000 cypress:run",
"test:watch": "npm run lint && concurrently \"cd client && npm run test:watch\" \"cd server && npm run test:watch\"",
"start:ganache": "ganache-cli -m 'stamp polar cup smart ill agree human episode reform trigger text forget' -i 5777",
"format:js": "prettier --parser typescript --write '**/*.{js,jsx,ts,tsx}'",
"format:css": "prettier-stylelint --ignore-path .gitignore --write --quiet '**/*.{css,scss}'",
"format": "npm run format:js && npm run format:css",
"lint:css": "stylelint --ignore-path .gitignore './**/*.{css,scss}'",
"lint:js": "eslint --ignore-path .gitignore --ignore-path .prettierignore --ext .ts,.tsx .",
"lint:fix": "eslint --fix --ignore-path .gitignore --ignore-path .prettierignore --ext .ts,.tsx .",
"lint": "npm run lint:js && npm run lint:css",
"release": "release-it --non-interactive",
"changelog": "auto-changelog -p",
"cypress:run": "$(npm bin)/cypress run",
"cypress:open": "cypress open"
},
"dependencies": {
"react-collapsed": "^2.0.1",
"truffle-hdwallet-provider": "^1.0.10",
"web3": "1.0.0-beta.37"
},
"devDependencies": {
"@release-it/bumper": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^1.7.0",
"@typescript-eslint/parser": "^1.7.0",
"auto-changelog": "^1.13.0",
"concurrently": "^4.1.0",
"cypress": "^3.3.1",
"eslint": "^5.16.0",
"eslint-config-oceanprotocol": "^1.3.0",
"eslint-config-prettier": "^4.2.0",
"eslint-plugin-cypress": "^2.2.1",
"eslint-plugin-prettier": "^3.0.1",
"prettier": "^1.17.0",
"prettier-stylelint": "^0.4.2",
"release-it": "^11.0.2",
"start-server-and-test": "^1.9.0",
"stylelint": "^10.0.1",
"stylelint-config-bigchaindb": "^1.2.2",
"stylelint-config-css-modules": "^1.4.0",
"stylelint-config-standard": "^18.3.0",
"typescript": "3.4.5"
},
"repository": {
"type": "git",
"url": "https://github.com/oceanprotocol/commons"
},
"release-it": {
"scripts": {
"beforeStart": "npm test",
"beforeStage": "npm run changelog",
"afterRelease": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"plugins": {
"@release-it/bumper": {
"out": [
"package.json",
"package-lock.json",
"client/package.json",
"client/package-lock.json",
"server/package.json",
"server/package-lock.json"
]
}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
}
}