forked from ordercloud-api/ordercloud-javascript-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.38 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
{
"name": "ordercloud-javascript-sdk",
"version": "3.6.9",
"description": "JavaScript SDK autogenerated from swagger spec using the Swagger-CodeGen project",
"author": "Four51 Inc. <[email protected]>",
"license": "MIT",
"main": "src/index.js",
"typings": "src/index.d.ts",
"browser": "dist/ordercloud-javascript-sdk.min.js",
"scripts": {
"README": "you MUST temporarily remove 'browser' from package.json before regenerating. It messes up build because browserify looks at that instead of ./src/index.js",
"README2": "remember to add back browser, its helpful for Webpack and other build systems to read the entry and choose the correct file based on the target.",
"build": "npm run concat && npm run minify",
"concat": "browserify ./src/index.js --outfile ./dist/ordercloud-javascript-sdk.js --standalone OrderCloudSDK",
"minify": "uglifyjs --compress unused=false --mangle --output dist/ordercloud-javascript-sdk.min.js -- dist/ordercloud-javascript-sdk.js",
"test": "mocha --recursive"
},
"repository": {
"type": "git",
"url": "https://github.com/ordercloud-api/OrderCloud-JavaScript-SDK"
},
"dependencies": {
"superagent": "5.1.0"
},
"devDependencies": {
"bowserify": "^10.2.1",
"expect.js": "~0.3.1",
"fs": "0.0.1-security",
"glob": "7.1.1",
"mocha": "~2.3.4",
"sinon": "1.17.3",
"uglify-js": "2.7.5"
}
}