-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 2.19 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
56
57
{
"name": "ec.sdk",
"version": "0.2.1",
"description": "SDK for ec.api",
"repository": "entrecode/ec.sdk",
"author": "Simon Scherzinger <scherzinger@entrecode.de>",
"license": "ISC",
"main": "./lib/index.js",
"module": "./src/index.js",
"jsnext:main": "./src/index.js",
"typings": "./typings/index.d.ts",
"scripts": {
"release": "./release.sh $3",
"build": "npm run buildNode && webpack ./src/index.js ./dist/webpack-bundle.js && npm run buildBrowser",
"buildNode": "babel src -d lib --source-maps",
"buildBrowser": "browserify lib/index.js -o dist/ec.sdk.js -s ec --global-transform [ babelify --presets [ es2015 ] ] && uglifyjs dist/ec.sdk.js --screw-ie8 --compress --mangle -o dist/ec.sdk.min.js",
"changelog": "conventional-changelog -i CHANGELOG.md -s",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --recursive && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec --recursive && open ./coverage/lcov-report/index.html",
"docs": "documentation build src/** -c documentation.yml -f html -o docs",
"test": "npm run buildNode && mocha --recursive",
"testTravis": "npm run build && mocha --recursive"
},
"dependencies": {
"@types/node": "^7.0.13",
"browser-cookies": "^1.1.0",
"halfred": "^1.0.0",
"json-schema-remote": "^1.1.6",
"jwt-decode": "^2.2.0",
"locale": "^0.1.0",
"shiro-trie": "^0.3.13",
"superagent": "^3.5.2",
"traverson": "^6.0.2",
"traverson-hal": "^6.0.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babelify": "^7.3.0",
"browserify": "^14.3.0",
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"conventional-changelog-cli": "^1.3.1",
"coveralls": "^2.13.0",
"documentation": "4.0.0-rc.0",
"ec.cookie-mock": "^1.0.0",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"mocha-bamboo-reporter": "^1.1.1",
"nock": "^9.0.13",
"sinon": "^2.1.0",
"sinon-chai": "^2.9.0",
"uglify-js": "^2.8.22",
"webpack": "^2.4.1"
}
}