-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpackage.json
81 lines (81 loc) · 2.33 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
{
"name": "@stellar/js-xdr",
"version": "3.1.2",
"description": "Read/write XDR encoded data structures (RFC 4506)",
"main": "lib/xdr.js",
"browser": "dist/xdr.js",
"module": "src/index.js",
"scripts": {
"build": "yarn run build:browser && yarn run build:node",
"build:browser": "webpack --mode=production --config ./webpack.config.js",
"build:node": "webpack --mode=development --config ./webpack.config.js",
"test:node": "yarn run build:node && mocha",
"test:browser": "yarn run build:browser && karma start",
"test": "yarn run test:node && yarn run test:browser",
"test-generate": "bundle exec xdrgen -o generated -n test -l javascript examples/test.x",
"fmt": "prettier --write '**/*.js'",
"prepare": "yarn build",
"clean": "rm -rf lib/ dist/"
},
"repository": {
"type": "git",
"url": "https://github.com/stellar/js-xdr.git"
},
"keywords": [],
"author": "Stellar Development Foundation <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/stellar/js-xdr/issues"
},
"homepage": "https://github.com/stellar/js-xdr",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,json}": [
"yarn fmt",
"git add"
]
},
"mocha": {
"require": [
"@babel/register",
"./test/setup.js"
],
"recursive": true,
"ui": "bdd"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@babel/eslint-parser": "^7.24.8",
"@babel/preset-env": "^7.24.8",
"@babel/register": "^7.24.6",
"babel-loader": "^9.1.3",
"buffer": "^6.0.3",
"chai": "^4.3.10",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-import": "^0.0.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.2.0",
"karma-firefox-launcher": "^2.1.3",
"karma-mocha": "^2.0.1",
"karma-sinon-chai": "^2.0.2",
"karma-webpack": "^5.0.1",
"lint-staged": "13.2.2",
"mocha": "^10.6.0",
"prettier": "^2.8.7",
"sinon": "^15.2.0",
"sinon-chai": "^3.7.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.93.0",
"webpack-cli": "^5.0.2"
}
}