use smogon calc re-publish

This commit is contained in:
xeals 2023-04-27 09:45:47 +10:00
parent 4f1e84ba8e
commit c6249b1b9b
Signed by: xeals
GPG Key ID: A498C7AF27EC6B5C
3 changed files with 11 additions and 12 deletions

View File

@ -4,7 +4,7 @@ import calc, {
Field, Field,
Move, Move,
Pokemon, Pokemon,
} from "@smogon/calc"; } from "@ajhyndman/smogon-calc";
import assert from "assert"; import assert from "assert";
import chev, { Lexer } from "chevrotain"; import chev, { Lexer } from "chevrotain";

19
package-lock.json generated
View File

@ -9,10 +9,18 @@
"version": "1.0.0", "version": "1.0.0",
"license": "WTFPL", "license": "WTFPL",
"dependencies": { "dependencies": {
"@smogon/calc": "https://gitpkg.now.sh/smogon/damage-calc/calc?master", "@ajhyndman/smogon-calc": "^0.8.0",
"chevrotain": "^10.5.0" "chevrotain": "^10.5.0"
} }
}, },
"node_modules/@ajhyndman/smogon-calc": {
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/@ajhyndman/smogon-calc/-/smogon-calc-0.8.0.tgz",
"integrity": "sha512-jx/gY1uSD70skzE0xE7+lUPp7KxKKqj3PcyRLMCejbd9A68PwnBKfbDP3pW5ILX9Dy+9R9m6OkiPCa9K4qi/pQ==",
"dependencies": {
"@types/node": "^18.14.2"
}
},
"node_modules/@chevrotain/cst-dts-gen": { "node_modules/@chevrotain/cst-dts-gen": {
"version": "10.5.0", "version": "10.5.0",
"resolved": "https://registry.npmjs.org/@chevrotain/cst-dts-gen/-/cst-dts-gen-10.5.0.tgz", "resolved": "https://registry.npmjs.org/@chevrotain/cst-dts-gen/-/cst-dts-gen-10.5.0.tgz",
@ -42,15 +50,6 @@
"resolved": "https://registry.npmjs.org/@chevrotain/utils/-/utils-10.5.0.tgz", "resolved": "https://registry.npmjs.org/@chevrotain/utils/-/utils-10.5.0.tgz",
"integrity": "sha512-hBzuU5+JjB2cqNZyszkDHZgOSrUUT8V3dhgRl8Q9Gp6dAj/H5+KILGjbhDpc3Iy9qmqlm/akuOI2ut9VUtzJxQ==" "integrity": "sha512-hBzuU5+JjB2cqNZyszkDHZgOSrUUT8V3dhgRl8Q9Gp6dAj/H5+KILGjbhDpc3Iy9qmqlm/akuOI2ut9VUtzJxQ=="
}, },
"node_modules/@smogon/calc": {
"version": "0.7.0",
"resolved": "https://gitpkg.now.sh/smogon/damage-calc/calc?master",
"integrity": "sha512-+t+olmnpyxGkdtXVxf/6mNMRqr+/ufKtddRZV29pM0Sd2wzbvasB0Q3I8G2yAz6aC8Zovx4fDZ/isidmDX4eDA==",
"license": "MIT",
"dependencies": {
"@types/node": "^18.14.2"
}
},
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "18.16.1", "version": "18.16.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.1.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.1.tgz",

View File

@ -11,7 +11,7 @@
"author": "", "author": "",
"license": "WTFPL", "license": "WTFPL",
"dependencies": { "dependencies": {
"@smogon/calc": "https://gitpkg.now.sh/smogon/damage-calc/calc?master", "@ajhyndman/smogon-calc": "^0.8.0",
"chevrotain": "^10.5.0" "chevrotain": "^10.5.0"
} }
} }