package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "@solana/spl-token",
  3. "version": "0.0.5",
  4. "description": "SPL Token Javascript API",
  5. "license": "MIT",
  6. "author": "Solana Maintainers <maintainers@solana.com>",
  7. "homepage": "https://solana.com/",
  8. "repository": {
  9. "type": "git",
  10. "url": "https://github.com/solana-labs/solana-program-library"
  11. },
  12. "bugs": {
  13. "url": "https://github.com/solana-labs/solana-program-library/issues"
  14. },
  15. "publishConfig": {
  16. "access": "public"
  17. },
  18. "main": "lib/index.cjs.js",
  19. "module": "lib/index.esm.js",
  20. "types": "lib/index.d.ts",
  21. "files": [
  22. "/lib",
  23. "/module.flow.js"
  24. ],
  25. "testnetDefaultChannel": "v1.3.1",
  26. "scripts": {
  27. "build": "rollup -c",
  28. "start": "babel-node cli/main.js",
  29. "lint": "npm run pretty && eslint .",
  30. "lint:fix": "npm run lint -- --fix",
  31. "flow": "flow",
  32. "flow:watch": "watch 'flow' . --wait=1 --ignoreDirectoryPattern=/doc/",
  33. "lint:watch": "watch 'npm run lint:fix' . --wait=1",
  34. "build:program": "rm client/util/store/config.json; ../../do.sh build token",
  35. "cluster:localnet": "rm -f .env",
  36. "cluster:devnet": "cp cluster-devnet.env .env",
  37. "cluster:testnet": "cp cluster-testnet.env .env",
  38. "cluster:mainnet-beta": "cp cluster-mainnet-beta.env .env",
  39. "localnet:update": "solana-localnet update",
  40. "localnet:up": "rm client/util/store/config.json; set -x; solana-localnet down; set -e; solana-localnet up",
  41. "localnet:down": "solana-localnet down",
  42. "localnet:logs": "solana-localnet logs -f",
  43. "pretty": "prettier --write '{,cli*/**/}*.js'"
  44. },
  45. "dependencies": {
  46. "@babel/runtime": "^7.10.5",
  47. "@solana/web3.js": "^0.64.0",
  48. "bn.js": "^5.0.0",
  49. "buffer-layout": "^1.2.0",
  50. "dotenv": "8.2.0",
  51. "mkdirp-promise": "^5.0.1"
  52. },
  53. "devDependencies": {
  54. "@babel/cli": "^7.10.5",
  55. "@babel/core": "^7.10.5",
  56. "@babel/node": "^7.10.5",
  57. "@babel/plugin-proposal-class-properties": "^7.10.4",
  58. "@babel/plugin-transform-runtime": "^7.10.5",
  59. "@babel/preset-env": "^7.10.4",
  60. "@babel/preset-flow": "^7.10.4",
  61. "@rollup/plugin-babel": "^5.1.0",
  62. "@rollup/plugin-commonjs": "^14.0.0",
  63. "babel-eslint": "^10.1.0",
  64. "eslint": "^7.4.0",
  65. "eslint-plugin-import": "^2.22.0",
  66. "flow-bin": "0.131.0",
  67. "flow-typed": "^3.2.0",
  68. "mz": "^2.7.0",
  69. "prettier": "^2.0.5",
  70. "rollup": "^2.23.0",
  71. "rollup-plugin-copy": "^3.3.0",
  72. "semver": "^7.0.0",
  73. "watch": "^1.0.2"
  74. },
  75. "engines": {
  76. "node": ">= 10"
  77. }
  78. }