mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
81 lines
2.9 KiB
JSON
81 lines
2.9 KiB
JSON
{
|
|
"name": "commons",
|
|
"description": "Ocean Protocol marketplace to explore, download, and publish open data sets.",
|
|
"version": "1.0.0",
|
|
"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 && npm run test:e2e",
|
|
"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": "cypress run --browser chrome",
|
|
"cypress:open": "cypress open"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@release-it/bumper": "^1.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^1.11.0",
|
|
"@typescript-eslint/parser": "^1.11.0",
|
|
"auto-changelog": "^1.13.0",
|
|
"concurrently": "^4.1.1",
|
|
"cypress": "^3.4.0",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-oceanprotocol": "^1.3.0",
|
|
"eslint-config-prettier": "^6.0.0",
|
|
"eslint-plugin-cypress": "^2.2.1",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"prettier": "^1.18.2",
|
|
"prettier-stylelint": "^0.4.2",
|
|
"release-it": "^12.3.0",
|
|
"start-server-and-test": "^1.9.1",
|
|
"stylelint": "^10.1.0",
|
|
"stylelint-config-bigchaindb": "^1.2.2",
|
|
"stylelint-config-css-modules": "^1.4.0",
|
|
"stylelint-config-standard": "^18.3.0",
|
|
"typescript": "3.5.2"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/oceanprotocol/commons"
|
|
},
|
|
"release-it": {
|
|
"hooks": {
|
|
"after:bump": "npm run changelog"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|