sfml.js 0.0.1-preview.34 → 0.0.1-preview.35

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,6 +1,6 @@
1
1
  {
2
2
  "name": "sfml.js",
3
- "version": "0.0.1-preview.34",
3
+ "version": "0.0.1-preview.35",
4
4
  "description": "SFML's Node.js binding.",
5
5
  "main": "lib/sfml.js",
6
6
  "scripts": {
@@ -9,6 +9,7 @@
9
9
  "clang-format": "./tools/clang_format.js --style=file -i ./src/*.cc ./src/*.h ./src/drawable/*.cc ./src/drawable/*.h ./src/sound/*.cc ./src/sound/*.h ./src/workers/*.h",
10
10
  "preinstall": "node tools/symlinks.js",
11
11
  "cpplint": "./third_party/cpplint/cpplint.py src/**/*",
12
+ "jslint": "eslint .",
12
13
  "install": "node-gyp rebuild"
13
14
  },
14
15
  "repository": {
@@ -28,8 +29,10 @@
28
29
  },
29
30
  "devDependencies": {
30
31
  "@types/node": "^16.11.6",
31
- "eslint": "^8.0.0",
32
- "eslint-config-egg": "^9.0.0"
32
+ "eslint": "^6.0.0",
33
+ "eslint-config-egg": "^9.0.0",
34
+ "eslint-plugin-import": "^2.25.2",
35
+ "typescript": "~4.0.0"
33
36
  },
34
37
  "files": [
35
38
  "binding.gyp",
@@ -76,4 +76,4 @@ class LoadFromFileWorker : public Nan::AsyncWorker {
76
76
  } // namespace load_from_file_worker
77
77
  } // namespace node_sfml
78
78
 
79
- #endif // SRC_LOAD_FROM_FILE_WORKER_H_
79
+ #endif // SRC_WORKERS_LOAD_FROM_FILE_WORKER_H_
@@ -76,4 +76,4 @@ class SaveToFileWorker : public Nan::AsyncWorker {
76
76
  } // namespace save_to_file_worker
77
77
  } // namespace node_sfml
78
78
 
79
- #endif // SRC_SAVE_TO_FILE_WORKER_H_
79
+ #endif // SRC_WORKERS_SAVE_TO_FILE_WORKER_H_
package/tools/demo.asst DELETED
Binary file