|
5 | 5 | "bin": { |
6 | 6 | "jsipfs": "src/cli/bin.js" |
7 | 7 | }, |
8 | | - "main": "src/core/index.js", |
| 8 | + "main": "lib/core/index.js", |
| 9 | + "jsnext:main": "src/core/index.js", |
9 | 10 | "scripts": { |
10 | | - "lint": "standard --verbose | snazzy", |
11 | | - "coverage": "istanbul cover --print both -- _mocha test/core-tests/index.js", |
12 | | - "coverage:http-api": "istanbul cover --print both -- _mocha test/http-api-tests/index.js", |
13 | | - "test": "npm run test:node && npm run test:browser", |
14 | | - "test:node": "npm run test:node:core && npm run test:node:http-api && npm run test:node:cli", |
15 | | - "test:node:teamcity": "npm run test:node:core:teamcity && npm run test:node:http-api:teamcity && npm run test:node:cli:teamcity", |
16 | | - "test:node:cli:teamcity": "mocha --reporter mocha-teamcity-reporter test/cli-tests/index.js", |
17 | | - "test:node:core:teamcity": "mocha --reporter mocha-teamcity-reporter test/core-tests/index.js", |
18 | | - "test:node:http-api:teamcity": "mocha --reporter mocha-teamcity-reporter test/http-api-tests/index.js", |
19 | | - "test:node:cli": "mocha test/cli-tests/index.js", |
20 | | - "test:node:core": "mocha test/core-tests/index.js", |
21 | | - "test:node:http-api": "mocha test/http-api-tests/index.js", |
22 | | - "test:browser": "karma start karma.conf.js", |
23 | | - "test:browser:teamcity": "karma start --reporters teamcity --colors false karma.conf.js", |
24 | | - "test:core": "mocha test/core-tests/index.js", |
25 | | - "test:cli": "mocha test/cli-tests/index.js" |
| 11 | + "lint": "aegir-lint", |
| 12 | + "coverage": "aegir-coverage", |
| 13 | + "test": "aegir-test", |
| 14 | + "test:node": "aegir-test node", |
| 15 | + "test:browser": "aegir-test browser", |
| 16 | + "build": "aegir-build", |
| 17 | + "release": "aegir-release", |
| 18 | + "release:minor": "aegir-release minor", |
| 19 | + "release:major": "aegir-release major", |
| 20 | + "coverage-publish": "aegir-coverage publish" |
26 | 21 | }, |
27 | 22 | "pre-commit": [ |
28 | 23 | "lint", |
|
42 | 37 | }, |
43 | 38 | "homepage": "https://github.com/ipfs/js-ipfs#readme", |
44 | 39 | "devDependencies": { |
| 40 | + "aegir": "^2.1.1", |
45 | 41 | "async": "^1.5.2", |
46 | | - "brfs": "^1.4.3", |
47 | 42 | "buffer-loader": "0.0.1", |
48 | | - "chai": "^3.4.1", |
| 43 | + "chai": "^3.5.0", |
49 | 44 | "expose-loader": "^0.7.1", |
50 | 45 | "form-data": "^1.0.0-rc3", |
51 | 46 | "idb-plus-blob-store": "^1.0.0", |
52 | | - "istanbul": "^0.4.1", |
53 | | - "json-loader": "^0.5.4", |
54 | | - "karma": "^0.13.19", |
55 | | - "karma-chrome-launcher": "^0.2.2", |
56 | | - "karma-cli": "^0.1.2", |
57 | | - "karma-firefox-launcher": "^0.1.7", |
58 | | - "karma-mocha": "^0.2.1", |
59 | | - "karma-spec-reporter": "0.0.26", |
60 | | - "karma-teamcity-reporter": "^0.2.2", |
61 | | - "karma-webpack": "^1.7.0", |
62 | 47 | "local-storage-blob-store": "0.0.3", |
63 | 48 | "lodash": "^4.11.1", |
64 | 49 | "mocha": "^2.3.4", |
65 | | - "mocha-teamcity-reporter": "^1.0.0", |
66 | 50 | "ncp": "^2.0.0", |
67 | 51 | "nexpect": "^0.5.0", |
68 | 52 | "pre-commit": "^1.1.2", |
69 | 53 | "rimraf": "^2.4.4", |
70 | 54 | "snazzy": "^3.0.1", |
71 | | - "standard": "^6.0.7", |
72 | 55 | "stream-to-promise": "^1.1.0", |
73 | | - "transform-loader": "^0.2.3", |
74 | | - "webpack": "^2.0.7-beta" |
| 56 | + "transform-loader": "^0.2.3" |
75 | 57 | }, |
76 | 58 | "dependencies": { |
| 59 | + "babel-runtime": "^6.6.1", |
77 | 60 | "bl": "^1.1.2", |
78 | 61 | "boom": "^3.1.1", |
79 | 62 | "bs58": "^3.0.0", |
|
95 | 78 | "peer-info": "^0.6.2", |
96 | 79 | "ronin": "^0.3.11", |
97 | 80 | "temp": "^0.8.3" |
| 81 | + }, |
| 82 | + "aegir": { |
| 83 | + "webpack": { |
| 84 | + "resolve": { |
| 85 | + "alias": { |
| 86 | + "node-forge": "../../../node_modules/peer-id/vendor/forge.bundle.js" |
| 87 | + } |
| 88 | + }, |
| 89 | + "externals": { |
| 90 | + "fs": "{}", |
| 91 | + "ipfs-data-importing": "{ import: {} }", |
| 92 | + "libp2p-ipfs": "{}", |
| 93 | + "mkdirp": "{}" |
| 94 | + } |
| 95 | + } |
98 | 96 | } |
99 | 97 | } |
0 commit comments