|
2 | 2 | "name": "@kkboxorg/kkbox-javascript-developer-sdk", |
3 | 3 | "version": "1.0.0", |
4 | 4 | "description": "KKBOX Open API developer SDK for JavaScript. Use it to easily access KKBOX open API to get various metadata about KKBOX's tracks, albums, artists, playlists and stations. ", |
5 | | - "main": "src/SDK.js", |
| 5 | + "main": "./dist/SDK.js", |
6 | 6 | "scripts": { |
7 | 7 | "test": "mocha --trace-warnings -R spec -t 5000 --compilers babel-register ./test/authtest ./test/apitest", |
8 | 8 | "test-sdk": "mocha -t 5000 --compilers babel-register ./test/sdktest", |
9 | 9 | "test-auth": "mocha -t 5000 --compilers babel-register ./test/authtest", |
10 | 10 | "test-all": "mocha -t 5000 --compilers babel-register", |
11 | 11 | "test-jenkins": "JUNIT_REPORT_PATH=report.xml jenkins-mocha -t 5000 --cobertura --compilers babel-register --colors --reporter mocha-jenkins-reporter ./test/authtest ./test/apitest", |
12 | | - "build": "webpack -p", |
| 12 | + "build-webpack": "webpack -p", |
| 13 | + "build": "babel src --presets babel-preset-es2015 --out-dir dist", |
| 14 | + "prepublishOnly": "npm run build", |
13 | 15 | "doc": "./node_modules/.bin/esdoc && open ./public/index.html", |
14 | 16 | "build-doc": "./node_modules/.bin/esdoc" |
15 | 17 | }, |
|
24 | 26 | "babel-polyfill": "^6.23.0" |
25 | 27 | }, |
26 | 28 | "devDependencies": { |
27 | | - "babel-cli": "^6.24.0", |
| 29 | + "babel-cli": "^6.26.0", |
28 | 30 | "babel-core": "^6.24.0", |
29 | 31 | "babel-loader": "^6.4.1", |
30 | 32 | "babel-plugin-syntax-dynamic-import": "^6.18.0", |
|
33 | 35 | "babel-plugin-transform-runtime": "^6.23.0", |
34 | 36 | "babel-preset-babili": "^0.1.2", |
35 | 37 | "babel-preset-env": "^1.3.2", |
| 38 | + "babel-preset-es2015": "^6.24.1", |
36 | 39 | "esdoc": "^0.5.2", |
37 | 40 | "esdoc-standard-plugin": "0.0.7", |
38 | 41 | "jenkins-mocha": "^4.1.2", |
|
0 commit comments