-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
37 lines (37 loc) · 1.51 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
{
"name": "ckb-js-toolkit",
"version": "0.11.1",
"description": "JavaScript toolkits used to build dapps for Nervos CKB",
"main": "dist/ckb-js-toolkit.node.js",
"browser": "dist/ckb-js-toolkit.esm.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/xxuejie/ckb-js-toolkit.git"
},
"files": [
"index.d.ts",
"dist"
],
"scripts": {
"dist": "rollup -c --environment BUILD:production",
"test": "rollup -c --environment BUILD:development && ava",
"fmt": "prettier --write \"{src,tests}/**/*.js\" index.d.ts",
"update-test-files": "curl -L https://raw.githubusercontent.com/nervosnetwork/ckb/27c36a55e6358fd04153ec3da4638b6e10660da6/util/types/schemas/blockchain.mol -o testfiles/blockchain.mol && moleculec --language - --schema-file testfiles/blockchain.mol --format json > testfiles/blockchain.json && moleculec-es -inputFile testfiles/blockchain.json -outputFile testfiles/blockchain.esm.js && rollup -f umd -i testfiles/blockchain.esm.js -o testfiles/blockchain.umd.js --name Blockchain && rm testfiles/blockchain.mol testfiles/blockchain.json testfiles/blockchain.esm.js"
},
"author": "Xuejie Xiao",
"license": "MIT",
"dependencies": {
"cross-fetch": "^3.0.6",
"jsbi": "^3.1.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"ava": "^3.5.0",
"prettier": "1.19.1",
"rollup": "^2.22.0",
"rollup-plugin-terser": "^7.0.2"
}
}