-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
44 lines (44 loc) · 1.5 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
{
"name": "eth-commerce",
"version": "2.0.1",
"description": "\"Javascript library that allows you to accept Ethereum payments on your website or mobile app\"",
"main": "dist/index.js",
"directories": {
"example": "example"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm -rf dist/*",
"babelify": "./node_modules/.bin/babel src --out-dir dist",
"uglify": "./node_modules/.bin/uglifyjs dist/*.js --compress --mangle --output dist/index.min.js",
"build": "npm run clean && npm run babelify && npm run uglify",
"update-example": "rm -f website/example/index.html && cp example/index.html website/example/ && sed -i '' -e 's,../src/index.js,https://unpkg.com/eth-commerce,g' website/example/index.html",
"publish::website": "npm run update-example && git subtree push --prefix website heroku master",
"publish::npm": "npm publish ./"
},
"repository": {
"type": "git",
"url": "git+https://github.com/brunobar79/eth-commerce.git"
},
"keywords": [
"javascript",
"ethereum",
"eth",
"web3",
"dapp"
],
"prepublish": "npm run build",
"author": "Bruno Barbieri",
"license": "MIT",
"bugs": {
"url": "https://github.com/brunobar79/eth-commerce/issues"
},
"unpkg": "dist/index.min.js",
"homepage": "https://github.com/brunobar79/eth-commerce#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"uglify-js": "^3.3.11"
}
}