nadesiko3 3.3.31 → 3.3.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "nadesiko3",
3
- "version": "3.3.31",
3
+ "version": "3.3.32",
4
4
  "description": "Japanese Programming Language",
5
5
  "main": "src/index.mjs",
6
6
  "bin": {
7
7
  "cnako3": "src/cnako3.mjs",
8
- "nako3server": "src/nako3server.mjs",
8
+ "nako3server": "tools/nako3server/index.mjs",
9
9
  "nako3edit": "tools/nako3edit/index.mjs"
10
10
  },
11
11
  "scripts": {
12
- "start": "node src/nako3server.mjs",
12
+ "start": "node tools/nako3server/index.mjs",
13
+ "nako3server": "node tools/nako3server/index.mjs",
13
14
  "nako3edit": "node tools/nako3edit/index.mjs",
14
15
  "test": "cross-env TZ=Asia/Tokyo mocha test/common/*.mjs",
15
16
  "test:node": "mocha --extension mjs test/node",
@@ -12,7 +12,7 @@ const __filename = url.fileURLToPath(import.meta.url)
12
12
  const __dirname = path.dirname(__filename)
13
13
 
14
14
  // CONST
15
- const SERVER_PORT = 3000
15
+ const SERVER_PORT = 8888
16
16
  const rootDir = path.resolve(__dirname)
17
17
  const releaseDir = path.resolve(path.join(__dirname, '../../release'))
18
18
  const isWin = process.platform === 'win32'
@@ -242,4 +242,3 @@ function apiGetNewFilename (res) {
242
242
  res.writeHead(200, { 'Content-Type': 'text/plaing; charset=utf-8' })
243
243
  res.end(`"${fname}"`)
244
244
  }
245
-
@@ -13,7 +13,7 @@ const __dirname = path.dirname(__filename)
13
13
 
14
14
  // CONST
15
15
  const SERVER_PORT = 3000
16
- const rootDir = path.resolve(path.join(__dirname, '../'))
16
+ const rootDir = path.resolve(__dirname, '../../')
17
17
 
18
18
  // ライブラリがあるかチェック
19
19
  const testFile = path.join(rootDir, 'demo/extlib/pure-min.css')