-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·145 lines (145 loc) · 4.2 KB
/
package.json
File metadata and controls
executable file
·145 lines (145 loc) · 4.2 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "@qlcchain/qlcjs",
"version": "0.0.0-development",
"description": "QLC Chain Javascript API",
"keywords": [
"qlcchain",
"block-lattice"
],
"main": "dist/qlcjs/qlcjs.umd.js",
"module": "dist/qlcjs/qlcjs.es5.js",
"typings": "index.d.ts",
"browser": "dist/qlcjs/index.web.js",
"files": [
"dist"
],
"author": "QLC Chain Team <admin@qlink.mobi>",
"repository": {
"type": "git",
"url": "git+https://github.com/qlcchain/qlc.js"
},
"license": "MIT",
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"prebuild": "rimraf dist",
"deploy-docs": "ts-node tools/gh-pages-publish",
"build:browser": "build_target=web webpack",
"build:node": "build_target=node webpack",
"build:provider": "tsc",
"build:es5": "NODE_ENV=es5 webpack",
"build": "rm -rf ./dist && npm run build:browser && npm run build:node && npm run build:provider",
"test:rpc": "cross-env NODE_ENV=test nyc mocha --compilers ts:ts-node/register -r tsconfig-paths/register test/RPC/index.js --no-timeouts",
"test:w": "cross-env NODE_ENV=testWatch mocha --compilers ts:ts-node/register -r tsconfig-paths/register test/index.js --require @babel/register -w --no-timeouts",
"test": "cross-env NODE_ENV=test nyc mocha --compilers ts:ts-node/register -r tsconfig-paths/register test/index.js --no-timeouts",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"rpc": "node test/bin/startRPC",
"lint": "eslint ./ --cache",
"lint-all": "eslint ./",
"commit": "git-cz",
"precommit": "lint-staged",
"travis-deploy-once": "travis-deploy-once",
"prerelease-alpha": "npm run build && npm version prerelease",
"publish-alpha": "npm publish --access-public --tag alpha",
"publish": "npm dist-tag add @qlcchain/qlcjs@alpha latest"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"prettier": {
"semi": true,
"tabWidth": 4,
"bracketSpacing": true,
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"@types/node": "^10.11.0",
"colors": "^1.3.2",
"commitizen": "^3.0.0",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"husky": "^1.0.1",
"lint-staged": "^8.0.0",
"lodash.camelcase": "^4.3.0",
"prettier": "^1.14.3",
"prompt": "^1.0.0",
"replace-in-file": "^3.4.2",
"rimraf": "^2.6.2",
"travis-deploy-once": "^5.0.9",
"ts-node": "^8.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.16.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.0.3",
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.1",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.5",
"@babel/preset-es2015": "^7.0.0-beta.53",
"@babel/register": "^7.0.0",
"@types/bn.js": "^4.11.3",
"@types/buffers": "^0.1.31",
"@types/core-js": "^2.5.0",
"babel-plugin-istanbul": "^5.0.1",
"babelify": "^10.0.0-beta.1",
"browser-builtins": "^3.3.1",
"browserify": "~16.2.2",
"browserify-replace": "^1.0.0",
"chai": "^4.1.2",
"core-js": "^2.5.7",
"eslint": "~5.12.1",
"exorcist": "~1.0.1",
"install": "~0.12.2",
"jayson": "~2.1.1",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"pre-commit": "~1.2.2",
"regenerator-runtime": "^0.13.1",
"terser-webpack-plugin": "^1.1.0",
"ts-loader": "^5.3.0",
"tsconfig-paths": "^3.7.0",
"typedoc": "^0.14.2",
"typedoc-webpack-plugin": "^1.1.4",
"vinyl-source-stream": "~2.0.0",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.2",
"webpack-merge": "^4.1.4"
},
"dependencies": {
"jsonrpc-lite": "^2.0.2",
"xhr2": "^0.1.4",
"websocket": "^1.0.26",
"net": "^1.0.2",
"es6-promise": "^4.2.5",
"@types/mocha": "^5.2.5",
"babel-loader": "^8.0.4"
},
"nyc": {
"require": [
"@babel/register"
],
"reporter": [
"html",
"text"
],
"sourceMap": false,
"instrument": false
}
}