/
package.json
55 lines (55 loc) · 1.71 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "openwhisk-es6-action",
"version": "0.0.1",
"description": "Sample OpenWhisk Action with ECMAScript 6, Unit Tests, and Code Coverage",
"main": "./src/action/hello-world.js",
"scripts": {
"start": "babel-watch ./test/server/index.js",
"test": "babel-node ./node_modules/.bin/isparta cover _mocha",
"test_no_cov": "mocha --compilers js:babel-register",
"prepublish__": "babel src --out-file ${npm_package_name}-${npm_package_version}.js",
"prepublish": "browserify -r ./src/action/hello-world.js:main-action --no-bundle-external > ${npm_package_name}-${npm_package_version}.js && npm run whisk_wrapper",
"whisk_wrapper": "echo \"var main = require('main-action').default;\" >> ${npm_package_name}-${npm_package_version}.js"
},
"repository": {
"type": "git",
"url": "git://github.com/ddragosd/openwhisk-es6-action.git"
},
"author": "Dragos Dascalita Haut <ddascal@adobe.com>",
"license": "Apache-2.0",
"dependencies": {},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.16.0",
"babel-preset-babili": "0.0.9",
"babel-preset-latest": "^6.16.0",
"babelify": "^7.3.0",
"browserify": "^13.1.1",
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"isparta": "^4.0.0",
"istanbul": "^0.3.17",
"mocha": "^2.5.3",
"supertest": "^1.1.0",
"supertest-as-promised": "^2.0.2"
},
"browserify": {
"transform": [
[
"babelify"
]
]
},
"babel": {
"presets": [
"latest", "babili"
]
},
"bugs": {
"url": "https://github.com/ddragosd/openwhisk-es6-action/issues"
},
"homepage": "https://github.com/ddragosd/openwhisk-es6-action",
"keywords": [
"serverless, openwhisk, es6-action"
]
}