Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Develop #7

Merged
merged 3 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.github
__tests__
node_modules
src
.eslintignore
.eslintrc.json
.gitattributes
.gitignore
.gitignore
tsconfig.json
vite.config.ts
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "@next2d/env",
"description": "Next2D Framework env function.",
"version": "2.0.1",
"version": "2.0.2",
"author": "Toshiyuki Ienaga <ienaga@tvon.jp>",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"homepage": "https://next2d.app",
"bugs": "https://github.com/Next2D/env/issues",
"keywords": [
Expand All @@ -18,6 +19,9 @@
"publish": "tsc",
"test": "npx vitest"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Next2D/env.git"
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ObjectImpl } from "./interface/ObjectImpl";

module.exports = (): ObjectImpl =>
export default function env (): ObjectImpl
{
const object: ObjectImpl = {
"environment": "local",
Expand Down Expand Up @@ -29,4 +29,4 @@ module.exports = (): ObjectImpl =>
}

return object;
};
}
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"compilerOptions": {
"target": "ES2020",
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,

/* Bundler mode */
"moduleResolution": "bundler",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"isolatedModules": true,

Expand Down