-
Notifications
You must be signed in to change notification settings - Fork 137
/
package.json
133 lines (133 loc) · 3.96 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
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
{
"name": "@stellar/stellar-base",
"version": "13.0.1",
"description": "Low-level support library for the Stellar network.",
"main": "./lib/index.js",
"browser": {
"main": "./dist/stellar-base.min.js",
"sodium-native": false
},
"types": "./types/index.d.ts",
"scripts": {
"build": "yarn build:node && yarn build:browser",
"build:node": "babel --out-dir ./lib/ ./src/",
"build:browser": "webpack -c ./config/webpack.config.browser.js",
"build:node:prod": "cross-env NODE_ENV=production yarn build",
"build:browser:prod": "cross-env NODE_ENV=production yarn build:browser",
"build:prod": "cross-env NODE_ENV=production yarn build",
"test": "yarn build && yarn test:node && yarn test:browser",
"test:node": "yarn _nyc mocha",
"test:browser": "karma start ./config/karma.conf.js",
"docs": "jsdoc -c ./config/.jsdoc.json --verbose",
"lint": "eslint -c ./config/.eslintrc.js src/ && dtslint --localTs node_modules/typescript/lib types/",
"preversion": "yarn clean && yarn fmt && yarn lint && yarn build:prod && yarn test",
"fmt": "prettier --config ./config/prettier.config.js --ignore-path ./config/.prettierignore --write './**/*.js'",
"prepare": "yarn build:prod",
"clean": "rm -rf lib/ dist/ coverage/ .nyc_output/",
"_nyc": "nyc --nycrc-path ./config/.nycrc"
},
"mocha": {
"require": [
"@babel/register",
"./test/test-helper.js"
],
"reporter": "dot",
"recursive": true,
"timeout": 5000
},
"nyc": {
"sourceMap": false,
"instrument": false,
"reporter": "text-summary"
},
"files": [
"/dist/*.js",
"/lib/**/*.js",
"/types/*.d.ts"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,json}": [
"yarn fmt",
"yarn lint"
]
},
"repository": {
"type": "git",
"url": "https://github.com/stellar/js-stellar-base.git"
},
"keywords": [
"stellar"
],
"author": "Stellar Development Foundation <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/stellar/js-stellar-base/issues"
},
"homepage": "https://github.com/stellar/js-stellar-base",
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/eslint-plugin": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/register": "^7.25.9",
"@definitelytyped/dtslint": "^0.0.182",
"@istanbuljs/nyc-config-babel": "3.0.0",
"@types/node": "^20.14.11",
"@typescript-eslint/parser": "^6.20.0",
"babel-loader": "^9.2.1",
"babel-plugin-istanbul": "^6.1.1",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.2",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-import": "^0.0.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-webpack-plugin": "^4.2.0",
"ghooks": "^2.0.4",
"husky": "^8.0.3",
"jsdoc": "^4.0.4",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.2.1",
"karma-firefox-launcher": "^2.1.3",
"karma-mocha": "^2.0.0",
"karma-sinon-chai": "^2.0.2",
"karma-webpack": "^5.0.1",
"lint-staged": "^15.2.10",
"minami": "^1.1.1",
"mocha": "^10.8.2",
"node-polyfill-webpack-plugin": "^3.0.0",
"nyc": "^15.1.0",
"prettier": "^3.3.3",
"randombytes": "^2.1.0",
"sinon": "^16.1.0",
"sinon-chai": "^3.7.0",
"taffydb": "^2.7.3",
"terser-webpack-plugin": "^5.3.10",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.1"
},
"dependencies": {
"@stellar/js-xdr": "^3.1.2",
"base32.js": "^0.1.0",
"bignumber.js": "^9.1.2",
"buffer": "^6.0.3",
"sha.js": "^2.3.6",
"tweetnacl": "^1.0.3"
},
"optionalDependencies": {
"sodium-native": "^4.3.0"
}
}