mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-25 01:41:44 +00:00
commit
4c4d0ba43b
6 changed files with 7893 additions and 912 deletions
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
presets: ["@vue/cli-plugin-babel/preset"],
|
||||
presets: ["@vue/cli-plugin-babel/preset", "@babel/preset-typescript"],
|
||||
plugins: [
|
||||
[
|
||||
"module:@jetblack/operator-overloading",
|
||||
|
|
4
jest.config.js
Normal file
4
jest.config.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
module.exports = {
|
||||
moduleDirectories: ["src", "node_modules"],
|
||||
testEnvironment: "jsdom"
|
||||
};
|
8780
package-lock.json
generated
8780
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
@ -6,11 +6,13 @@
|
|||
"start": "vue-cli-service serve",
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint"
|
||||
"lint": "vue-cli-service lint",
|
||||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pixi/particle-emitter": "^5.0.4",
|
||||
"core-js": "^3.6.5",
|
||||
"jest-environment-jsdom": "^28.1.1",
|
||||
"lodash.clonedeep": "^4.5.0",
|
||||
"lz-string": "^1.4.4",
|
||||
"nanoevents": "^6.0.2",
|
||||
|
@ -24,9 +26,13 @@
|
|||
"vuedraggable": "^4.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.18.5",
|
||||
"@babel/preset-env": "^7.18.2",
|
||||
"@babel/preset-typescript": "^7.17.12",
|
||||
"@ivanv/vue-collapse-transition": "^1.0.2",
|
||||
"@jetblack/operator-overloading": "^0.2.0",
|
||||
"@rushstack/eslint-patch": "^1.1.0",
|
||||
"@types/jest": "^28.1.3",
|
||||
"@types/lodash.clonedeep": "^4.5.6",
|
||||
"@types/lz-string": "^1.3.34",
|
||||
"@vue/babel-plugin-jsx": "^1.1.1",
|
||||
|
@ -38,7 +44,9 @@
|
|||
"@vue/eslint-config-prettier": "^7.0.0",
|
||||
"@vue/eslint-config-typescript": "^10.0.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-jest": "^28.1.1",
|
||||
"eslint": "^8.6.0",
|
||||
"jest": "^28.1.1",
|
||||
"lint-staged": "^12.3.4",
|
||||
"prettier": "^2.5.1",
|
||||
"raw-loader": "^4.0.2",
|
||||
|
|
6
tests/example.test.ts
Normal file
6
tests/example.test.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import Decimal from "util/bignum";
|
||||
|
||||
test("Decimals?", () => {
|
||||
const x = new Decimal(3);
|
||||
expect(x.m).toBe(3);
|
||||
});
|
|
@ -17,7 +17,8 @@
|
|||
"sourceMap": true,
|
||||
"baseUrl": "src",
|
||||
"types": [
|
||||
"webpack-env"
|
||||
"webpack-env",
|
||||
"jest"
|
||||
],
|
||||
"lib": [
|
||||
"esnext",
|
||||
|
|
Loading…
Reference in a new issue