Skip to content

Commit

Permalink
Change to improve development process
Browse files Browse the repository at this point in the history
- use local build script instead of xcratch-build
- build automatically
- use local setup script instead of xcratch-register
- no modify scratch-vm/scratch-gui
- eslint according to origin
- test using Mocha
  • Loading branch information
yokobond committed Jan 5, 2024
1 parent cf03ede commit db23e23
Show file tree
Hide file tree
Showing 27 changed files with 11,209 additions and 2,374 deletions.
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage/*
dist/*
node_modules/*
playground/*
benchmark/*
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/node_modules
node_modules/

src/vm/*
!src/vm/extensions/
!src/vm/.*
4 changes: 4 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
require: ["@babel/register", "./test/setup-test.js"],
spec: "test/unit/**/*.test.js",
};
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Koji Yokokawa
Copyright (c) 2021-2024 Koji Yokokawa

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 13 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": true
},
"useBuiltIns": "entry"
}
]
]
}
Loading

0 comments on commit db23e23

Please sign in to comment.