mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
80 lines
2.7 KiB
JSON
80 lines
2.7 KiB
JSON
{
|
|
"name": "commons",
|
|
"description": "Ocean Protocol marketplace to explore, download, and publish open data sets.",
|
|
"version": "1.1.2",
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"install": "./scripts/install.sh",
|
|
"start": "concurrently \"cd client && npm start\" \"cd server && npm start\"",
|
|
"build": "./scripts/build.sh",
|
|
"test": "npm run lint && scripts/test.sh && npm run test:e2e",
|
|
"test:e2e": "start-test start http-get://localhost:3000 cypress:run",
|
|
"test:watch": "npm run lint && concurrently \"cd client && npm run test:watch\" \"cd server && npm run test:watch\"",
|
|
"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": "^2.0.0",
|
|
"@typescript-eslint/parser": "^2.0.0",
|
|
"auto-changelog": "^1.16.0",
|
|
"concurrently": "^4.1.2",
|
|
"cypress": "^3.4.1",
|
|
"cypress-log-to-output": "^1.0.4",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-oceanprotocol": "1.4.0",
|
|
"eslint-config-prettier": "^6.1.0",
|
|
"eslint-plugin-cypress": "^2.6.1",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"prettier": "^1.18.2",
|
|
"prettier-stylelint": "^0.4.2",
|
|
"release-it": "^12.3.6",
|
|
"start-server-and-test": "^1.10.0",
|
|
"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.6.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
|
|
}
|
|
}
|
|
}
|