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.",
|
2019-06-03 10:52:48 +02:00
|
|
|
"version": "0.4.3",
|
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-03-24 02:10:00 +01:00
|
|
|
"test": "npm run lint && scripts/test.sh",
|
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",
|
|
|
|
"changelog": "auto-changelog -p"
|
2019-03-24 02:10:00 +01:00
|
|
|
},
|
|
|
|
"dependencies": {},
|
|
|
|
"devDependencies": {
|
2019-05-28 11:41:36 +02:00
|
|
|
"@release-it/bumper": "^1.0.2",
|
2019-04-23 12:38:59 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^1.7.0",
|
|
|
|
"@typescript-eslint/parser": "^1.7.0",
|
|
|
|
"auto-changelog": "^1.13.0",
|
2019-03-25 10:57:42 +01:00
|
|
|
"concurrently": "^4.1.0",
|
2019-04-23 12:38:59 +02:00
|
|
|
"eslint": "^5.16.0",
|
2019-03-24 02:10:00 +01:00
|
|
|
"eslint-config-oceanprotocol": "^1.3.0",
|
2019-04-30 19:19:28 +02:00
|
|
|
"eslint-config-prettier": "^4.2.0",
|
2019-03-24 02:10:00 +01:00
|
|
|
"eslint-plugin-prettier": "^3.0.1",
|
2019-04-30 19:19:28 +02:00
|
|
|
"prettier": "^1.17.0",
|
2019-03-24 02:10:00 +01:00
|
|
|
"prettier-stylelint": "^0.4.2",
|
2019-04-30 19:19:28 +02:00
|
|
|
"release-it": "^11.0.2",
|
2019-04-23 12:38:59 +02:00
|
|
|
"stylelint": "^10.0.1",
|
2019-04-30 19:19:28 +02:00
|
|
|
"stylelint-config-bigchaindb": "^1.2.2",
|
|
|
|
"stylelint-config-css-modules": "^1.4.0",
|
|
|
|
"stylelint-config-standard": "^18.3.0",
|
2019-05-31 16:19:19 +02:00
|
|
|
"typescript": "3.4.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": {
|
|
|
|
"scripts": {
|
|
|
|
"beforeStart": "npm test",
|
|
|
|
"beforeStage": "npm run changelog",
|
|
|
|
"afterRelease": "echo Successfully released ${name} v${version} to ${repo.repository}."
|
|
|
|
},
|
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
|
|
|
}
|