2019-03-24 02:10:00 +01:00
|
|
|
{
|
2019-04-03 14:40:31 +02:00
|
|
|
"name": "commons",
|
2019-03-25 13:13:55 +01:00
|
|
|
"description": "Ocean Protocol marketplace to explore, download, and publish open data sets.",
|
2020-01-23 13:29:58 +01:00
|
|
|
"version": "2.1.0",
|
2019-03-25 13:13:55 +01:00
|
|
|
"license": "Apache-2.0",
|
2019-03-24 02:10:00 +01:00
|
|
|
"scripts": {
|
|
|
|
"install": "./scripts/install.sh",
|
2019-04-12 16:26:13 +02:00
|
|
|
"start": "concurrently \"cd client && npm start\" \"cd server && npm start\"",
|
2019-03-24 02:18:53 +01:00
|
|
|
"build": "./scripts/build.sh",
|
2019-06-26 19:39:13 +02:00
|
|
|
"test": "npm run lint && scripts/test.sh && npm run test:e2e",
|
2019-07-17 15:47:54 +02:00
|
|
|
"test:e2e": "start-test start http-get://localhost:3000 cypress:run",
|
2019-04-15 23:30:35 +02:00
|
|
|
"test:watch": "npm run lint && concurrently \"cd client && npm run test:watch\" \"cd server && npm run test:watch\"",
|
2019-03-24 02:10:00 +01:00
|
|
|
"format:js": "prettier --parser typescript --write '**/*.{js,jsx,ts,tsx}'",
|
2019-03-25 11:52:24 +01:00
|
|
|
"format:css": "prettier-stylelint --ignore-path .gitignore --write --quiet '**/*.{css,scss}'",
|
2019-03-24 02:10:00 +01:00
|
|
|
"format": "npm run format:js && npm run format:css",
|
2019-03-25 11:52:24 +01:00
|
|
|
"lint:css": "stylelint --ignore-path .gitignore './**/*.{css,scss}'",
|
2019-03-24 02:10:00 +01:00
|
|
|
"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 .",
|
2019-04-09 14:09:27 +02:00
|
|
|
"lint": "npm run lint:js && npm run lint:css",
|
2019-05-28 01:54:27 +02:00
|
|
|
"release": "release-it --non-interactive",
|
2019-05-17 14:17:27 +02:00
|
|
|
"changelog": "auto-changelog -p",
|
2019-06-26 16:15:35 +02:00
|
|
|
"cypress:run": "cypress run --browser chrome",
|
2019-05-17 11:10:06 +02:00
|
|
|
"cypress:open": "cypress open"
|
2019-03-24 02:10:00 +01:00
|
|
|
},
|
2019-07-10 17:21:55 +02:00
|
|
|
"dependencies": {},
|
2019-03-24 02:10:00 +01:00
|
|
|
"devDependencies": {
|
2019-10-28 16:22:01 +01:00
|
|
|
"@release-it/bumper": "^1.0.5",
|
2020-01-31 16:54:22 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^2.18.0",
|
|
|
|
"@typescript-eslint/parser": "^2.18.0",
|
2019-11-01 11:20:48 +01:00
|
|
|
"auto-changelog": "^1.16.2",
|
2020-01-31 16:54:22 +01:00
|
|
|
"concurrently": "^5.1.0",
|
|
|
|
"cypress": "^3.8.3",
|
2019-10-28 16:22:01 +01:00
|
|
|
"cypress-log-to-output": "^1.0.7",
|
2020-01-06 14:53:03 +01:00
|
|
|
"eslint": "^6.8.0",
|
2019-12-13 12:06:40 +01:00
|
|
|
"eslint-config-oceanprotocol": "^1.5.0",
|
2020-01-31 16:54:22 +01:00
|
|
|
"eslint-config-prettier": "^6.10.0",
|
2020-01-06 14:53:03 +01:00
|
|
|
"eslint-plugin-cypress": "^2.8.1",
|
|
|
|
"eslint-plugin-prettier": "^3.1.2",
|
2019-11-15 11:55:53 +01:00
|
|
|
"prettier": "^1.19.1",
|
2019-03-24 02:10:00 +01:00
|
|
|
"prettier-stylelint": "^0.4.2",
|
2019-10-28 16:22:01 +01:00
|
|
|
"release-it": "^12.4.3",
|
2020-01-31 16:54:22 +01:00
|
|
|
"start-server-and-test": "^1.10.8",
|
|
|
|
"stylelint": "^13.0.0",
|
2019-04-30 19:19:28 +02:00
|
|
|
"stylelint-config-bigchaindb": "^1.2.2",
|
2020-01-31 16:54:22 +01:00
|
|
|
"stylelint-config-css-modules": "^2.2.0",
|
2019-10-28 16:22:01 +01:00
|
|
|
"stylelint-config-standard": "^19.0.0",
|
2020-01-31 16:54:22 +01:00
|
|
|
"typescript": "^3.7.5"
|
2019-03-25 13:13:55 +01:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2019-04-03 14:40:31 +02:00
|
|
|
"url": "https://github.com/oceanprotocol/commons"
|
2019-05-28 01:54:27 +02:00
|
|
|
},
|
|
|
|
"release-it": {
|
2019-07-04 11:00:40 +02:00
|
|
|
"hooks": {
|
|
|
|
"after:bump": "npm run changelog"
|
2019-05-28 01:54:27 +02:00
|
|
|
},
|
2019-05-28 11:41:36 +02:00
|
|
|
"plugins": {
|
|
|
|
"@release-it/bumper": {
|
|
|
|
"out": [
|
|
|
|
"package.json",
|
2019-05-31 13:40:24 +02:00
|
|
|
"package-lock.json",
|
2019-05-28 11:41:36 +02:00
|
|
|
"client/package.json",
|
2019-05-31 13:40:24 +02:00
|
|
|
"client/package-lock.json",
|
|
|
|
"server/package.json",
|
|
|
|
"server/package-lock.json"
|
2019-05-28 11:41:36 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2019-05-28 01:54:27 +02:00
|
|
|
"git": {
|
|
|
|
"tagName": "v${version}"
|
|
|
|
},
|
|
|
|
"github": {
|
|
|
|
"release": true
|
|
|
|
},
|
|
|
|
"npm": {
|
|
|
|
"publish": false
|
|
|
|
}
|
2019-03-24 02:18:53 +01:00
|
|
|
}
|
2019-03-24 02:10:00 +01:00
|
|
|
}
|