Skip to content

Commit e9538ca

Browse files
committed
update package.json and README.md
1 parent 1cdd0b5 commit e9538ca

File tree

9 files changed

+6617
-184
lines changed

9 files changed

+6617
-184
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 88 deletions
This file was deleted.

.npmignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
.github
22
node_modules
33
src
4-
.eslintignore
5-
.eslintrc.json
64
.gitattributes
75
.gitignore
8-
tsconfig.eslint.json
6+
eslint.config.mjs
97
tsconfig.json

README.md

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,44 @@ Multi-platform Builder
77
[![license](https://img.shields.io/github/license/Next2D/builder)](https://github.com/Next2D/builder/blob/main/LICENSE)
88

99
[日本語]\
10-
Next2D Frameworkのマルチプラットフォームビルダー、Steam用のWindows、macOS、Linux、スマートフォン(iOS、Android)、Web(HTML)など、各種プラットフォームへの書き出しに対応
10+
1つのプロジェクトから多種多様なプラットフォーム向けのアプリケーションを作成するマルチプラットフォームビルダー。
11+
12+
* Steam用のアプリ:Steamに対応したWindows版、macOS版、Linux版のアプリケーションの書き出しが可能。
13+
* デスクトップアプリ:デスクトップ環境向けに、Windows、macOS、Linux向けのアプリケーションを出力できます。
14+
* スマートフォンアプリ:iOSおよびAndroidに対応したスマートフォン用アプリケーションとしての書き出しもサポート。
15+
* Web(HTML)コンテンツ:ブラウザ上で動作するHTML形式のコンテンツも簡単に生成可能。
16+
17+
Next2D Frameworkを使えば、1つのソースコードから多様なデバイスやOSに最適化されたアプリケーションを効率的に開発・展開することができます。
1118

1219
[English]\
13-
Multi-platform builder for Next2D Framework, export to various platforms including Windows, macOS, Linux, Smartphones (iOS, Android) and Web (HTML) for Steam
20+
Multi-platform builder to create applications for a wide variety of platforms from a single project.
21+
22+
* Apps for Steam: Allows export of Steam-compatible applications for Windows, macOS, and Linux.
23+
* Desktop apps: Export applications for Windows, macOS, and Linux for desktop environments.
24+
* Smartphone applications: Export as smartphone applications for iOS and Android is also supported.
25+
* Web (HTML) content: Content in HTML format that runs in a browser can also be easily generated.
26+
27+
With Next2D Framework, you can efficiently develop and deploy applications optimized for diverse devices and operating systems from a single source code.
1428

1529
## Supported
1630

17-
| platform | detail |
18-
|----------|--------------------------|
19-
| Windows | Export an exe file |
20-
| macOS | Export dmg, app file |
21-
| Linux | Export deb file |
22-
| iOS | Implementing... |
23-
| Android | Implementing... |
24-
| web | Export minfy'd JS files |
31+
| platform | detail |
32+
|-----------------|--------------------------|
33+
| Windows | Export an exe file |
34+
| macOS | Export dmg, app file |
35+
| Linux | Export deb file |
36+
| Steam:Windows | Export an exe file |
37+
| Steam:macOS | Export dmg, app file |
38+
| Steam:Linux | Export deb file |
39+
| web | Export minfy'd JS files |
40+
41+
### Scheduled introduction
42+
43+
| platform |
44+
|-----------------|
45+
| iOS |
46+
| Android |
47+
| Nintendo Switch |
2548

2649
### build example.
2750

eslint.config.mjs

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
import unusedImports from "eslint-plugin-unused-imports";
2+
import globals from "globals";
3+
import tsParser from "@typescript-eslint/parser";
4+
import path from "node:path";
5+
import { fileURLToPath } from "node:url";
6+
import js from "@eslint/js";
7+
import { FlatCompat } from "@eslint/eslintrc";
8+
9+
const __filename = fileURLToPath(import.meta.url);
10+
const __dirname = path.dirname(__filename);
11+
const compat = new FlatCompat({
12+
"baseDirectory": __dirname,
13+
"recommendedConfig": js.configs.recommended,
14+
"allConfig": js.configs.all
15+
});
16+
17+
export default [{
18+
"ignores": [
19+
"**/node_modules/*",
20+
"**/dist",
21+
"**/build",
22+
"**/json",
23+
"**/@types",
24+
"**/.github",
25+
"**/*.test.ts"
26+
],
27+
}, ...compat.extends("plugin:@typescript-eslint/eslint-recommended"), {
28+
"plugins": {
29+
"unused-imports": unusedImports
30+
},
31+
32+
"languageOptions": {
33+
"globals": {
34+
...globals.browser
35+
},
36+
37+
"parser": tsParser,
38+
"ecmaVersion": "latest",
39+
"sourceType": "module"
40+
},
41+
42+
"rules": {
43+
"no-unused-vars": "off",
44+
"unused-imports/no-unused-imports": "error",
45+
46+
"unused-imports/no-unused-vars": ["warn", {
47+
"vars": "all",
48+
"varsIgnorePattern": "^_",
49+
"args": "after-used",
50+
"argsIgnorePattern": "^_"
51+
}],
52+
53+
"no-var": "error",
54+
55+
"semi": ["error", "always", {
56+
"omitLastInOneLineBlock": true
57+
}],
58+
59+
"block-spacing": "error",
60+
61+
"indent": ["error", 4, {
62+
"SwitchCase": 1
63+
}],
64+
65+
"no-mixed-spaces-and-tabs": "error",
66+
67+
"no-multiple-empty-lines": ["error", {
68+
"max": 1
69+
}],
70+
71+
"no-trailing-spaces": "error",
72+
"space-infix-ops": "error",
73+
"dot-notation": "error",
74+
"eqeqeq": "error",
75+
"quotes": ["error", "double"],
76+
"no-else-return": "error",
77+
"no-loop-func": "error",
78+
"arrow-parens": "error",
79+
"arrow-spacing": "error",
80+
"no-undef": "off",
81+
"comma-dangle": "warn",
82+
"no-use-before-define": "off",
83+
"no-const-assign": "error",
84+
"space-before-blocks": "error",
85+
"no-unexpected-multiline": "error",
86+
"object-curly-spacing": ["error", "always"],
87+
"quote-props": ["error", "always"],
88+
89+
"max-len": ["error", {
90+
"code": 200,
91+
"ignoreStrings": true,
92+
"ignoreComments": true,
93+
"ignoreTemplateLiterals": true
94+
}],
95+
96+
"no-debugger": "error",
97+
"no-dupe-keys": "error",
98+
"no-duplicate-case": "error",
99+
"no-empty": "error",
100+
"no-extra-parens": "error",
101+
"no-func-assign": "error",
102+
"no-irregular-whitespace": "error",
103+
"no-sparse-arrays": "error",
104+
"no-unreachable": "error",
105+
"no-unsafe-negation": "error",
106+
"use-isnan": "error",
107+
"block-scoped-var": "error",
108+
"no-caller": "error",
109+
"curly": "error",
110+
"no-case-declarations": "error",
111+
"no-floating-decimal": "error",
112+
"no-eq-null": "error",
113+
"no-empty-function": "error",
114+
"no-empty-pattern": "error",
115+
"no-extend-native": "error",
116+
"dot-location": ["error", "property"],
117+
"no-global-assign": "error",
118+
"no-implicit-globals": "error",
119+
"no-invalid-this": "error",
120+
"no-lone-blocks": "error",
121+
"no-iterator": "error",
122+
"no-new": "error",
123+
"no-proto": "error",
124+
"no-return-assign": "error",
125+
"no-self-assign": "error",
126+
"no-self-compare": "error",
127+
"no-useless-concat": "error",
128+
"no-useless-call": "error",
129+
"no-useless-return": "error",
130+
"no-unused-expressions": "error",
131+
"no-class-assign": "error",
132+
"no-sequences": "error",
133+
"no-dupe-args": "error",
134+
"no-extra-boolean-cast": "error",
135+
"no-obj-calls": "error",
136+
"no-console": "off",
137+
"no-extra-semi": "warn"
138+
}
139+
}];

0 commit comments

Comments
 (0)