Skip to content

Commit

Permalink
fix(util-roles): don't use parcel as its output is not es6-compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
emirotin committed Jun 7, 2018
1 parent 364d6f5 commit 25d84fb
Show file tree
Hide file tree
Showing 6 changed files with 224 additions and 1,695 deletions.
4 changes: 1 addition & 3 deletions package.json
Expand Up @@ -2,6 +2,7 @@
"devDependencies": {
"@commitlint/cli": "^6.1.3",
"@commitlint/config-conventional": "^6.1.3",
"babel-eslint": "^8.2.3",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-jest": "^21.15.1",
Expand All @@ -24,8 +25,5 @@
"pre-commit": {
"run": "precommit",
"silent": true
},
"dependencies": {
"babel-eslint": "^8.2.3"
}
}
2 changes: 1 addition & 1 deletion packages/core/botpress-util-roles/.npmignore
@@ -1,2 +1,2 @@
.npmignore
src
src
7 changes: 4 additions & 3 deletions packages/core/botpress-util-roles/package.json
Expand Up @@ -7,16 +7,17 @@
"license": "AGPL-3.0",
"private": false,
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"jest": "^22.4.3",
"parcel-bundler": "^1.7.1"
"rimraf": "^2.6.2"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"watch": "parcel watch src/index.js",
"compile": "parcel build src/index.js",
"watch": "rimraf dist && babel src --source-maps --out-dir dist --watch",
"compile": "rimraf dist && babel src --source-maps --out-dir dist",
"test": "jest --watch"
}
}
4 changes: 2 additions & 2 deletions packages/core/botpress-util-roles/src/resources.js
Expand Up @@ -4,7 +4,7 @@ const w = 'w'
export const RESOURCES = [
{
name: '*',
description: 'All resources, at once',
description: 'All resources, at once. Use with caution',
operations: [r, w]
},
{
Expand Down Expand Up @@ -96,4 +96,4 @@ export const RESOURCES = [
}
]
}
]
].sort((a, b) => a.name.localeCompare(b.name))

0 comments on commit 25d84fb

Please sign in to comment.