Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit 3449b50

Browse files
committed
Cleanup build
1 parent 87ced44 commit 3449b50

File tree

3 files changed

+1404
-715
lines changed

3 files changed

+1404
-715
lines changed

Gruntfile.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,10 @@ module.exports = function(grunt) {
3434
babel: {
3535
options: {
3636
sourceMap: true,
37-
presets: ['es2015']
37+
presets: ['env'],
38+
plugins: ['transform-object-rest-spread']
3839
},
3940
dist: {
40-
options: {
41-
plugins: ['transform-es2015-modules-systemjs', 'transform-es2015-for-of']
42-
},
4341
files: [{
4442
cwd: 'src',
4543
expand: true,

package.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,15 @@
1313
"url": "git+https://github.com/grafana/simple-json-datasource.git"
1414
},
1515
"author": "",
16-
"license": "ISC",
16+
"license": "MIT",
1717
"bugs": {
1818
"url": "https://github.com/grafana/simple-json-datasource/issues"
1919
},
20-
"engines": {
21-
"node": "6.10.0"
22-
},
2320
"engineStrict": true,
2421
"devDependencies": {
2522
"babel": "^6.23.0",
23+
"babel-preset-env": "^1.7.0",
24+
"babel-plugin-transform-object-rest-spread": "^6.26.0",
2625
"chai": "~3.5.0",
2726
"grunt": "^1.0.1",
2827
"grunt-babel": "~6.0.0",
@@ -36,15 +35,12 @@
3635
"grunt-systemjs-builder": "^1.0.0",
3736
"jsdom": "~9.12.0",
3837
"load-grunt-tasks": "^3.5.2",
38+
"mocha": "^3.2.0",
3939
"prunk": "^1.3.0",
4040
"q": "^1.5.0"
4141
},
4242
"dependencies": {
43-
"babel-plugin-transform-es2015-for-of": "^6.6.0",
44-
"babel-plugin-transform-es2015-modules-systemjs": "^6.24.1",
45-
"babel-preset-es2015": "^6.24.1",
46-
"lodash": "^4.17.4",
47-
"mocha": "^3.2.0"
43+
"lodash": "^4.17.4"
4844
},
4945
"homepage": "https://github.com/grafana/simple-json-datasource#readme"
5046
}

0 commit comments

Comments
 (0)