onejs-core 0.3.14 → 0.3.16

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,7 +1,7 @@
1
1
  {
2
2
  "name": "onejs-core",
3
3
  "description": "The JS part of OneJS, a UI framework and Scripting Engine for Unity.",
4
- "version": "0.3.14",
4
+ "version": "0.3.16",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./typings.d.ts",
7
7
  "dependencies": {
@@ -164,6 +164,7 @@ exports.corePlugins = {
164
164
  translate: false,
165
165
  rotate: false,
166
166
  scale: false,
167
+ filter: false,
167
168
  fontWeight: false,
168
169
  lineHeight: false,
169
170
  }
@@ -74,7 +74,7 @@ async function Process(backend, outputDir) {
74
74
  // --- Support Functions ---
75
75
 
76
76
  function getOneJSUnityDir() {
77
- var packageJsonPath = path.join(__dirname, '../package.json')
77
+ var packageJsonPath = path.join(process.cwd(), 'package.json')
78
78
  var json = require(packageJsonPath)
79
79
  return json.onejs["unity-package-path"]
80
80
  }