Comparing version 0.4.1 to 0.5.0
10
index.js
@@ -215,2 +215,5 @@ (function (global, factory) { | ||
res += name; | ||
} else if (name === '$') { | ||
res += 'karas.createGm('; | ||
res += name; | ||
} else if (/^\$/.test(name)) { | ||
@@ -424,2 +427,4 @@ res += 'karas.createGm('; | ||
var version = "0.5.0"; | ||
var Yurine = | ||
@@ -463,7 +468,8 @@ /*#__PURE__*/ | ||
var index = new Yurine(); | ||
var o = new Yurine(); | ||
o.version = version; | ||
return index; | ||
return o; | ||
})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "yurine", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "A csx transformer for karas", | ||
@@ -33,2 +33,3 @@ "author": "army8735 <army8735@qq.com>", | ||
"@babel/preset-env": "^7.4.3", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"expect.js": "^0.3.1", | ||
@@ -35,0 +36,0 @@ "mocha": "^6.2.1", |
# yurine(百合音) | ||
[![NPM version](https://badge.fury.io/js/yurine.png)](https://npmjs.org/package/yurine) | ||
[![NPM version](https://img.shields.io/npm/v/yurine.svg)](https://npmjs.org/package/yurine) | ||
[![Build Status](https://travis-ci.org/karasjs/yurine.svg?branch=master)](https://travis-ci.org/karasjs/yurine) | ||
[![Dependency Status](https://david-dm.org/karasjs/yurine.png)](https://david-dm.org/karasjs/yurine) | ||
import babel from 'rollup-plugin-babel'; | ||
import { uglify } from 'rollup-plugin-uglify'; | ||
import json from '@rollup/plugin-json'; | ||
@@ -20,2 +21,3 @@ export default [{ | ||
}), | ||
json(), | ||
], | ||
@@ -38,2 +40,3 @@ }, { | ||
}), | ||
json(), | ||
uglify({ | ||
@@ -40,0 +43,0 @@ sourcemap: true, |
@@ -85,2 +85,6 @@ import homunculus from 'homunculus'; | ||
} | ||
else if(name === '$') { | ||
res += 'karas.createGm('; | ||
res += name; | ||
} | ||
else if(/^\$/.test(name)) { | ||
@@ -87,0 +91,0 @@ res += 'karas.createGm('; |
import homunculus from 'homunculus'; | ||
import Tree from './Tree'; | ||
import { version } from '../package.json'; | ||
@@ -27,2 +28,5 @@ class Yurine { | ||
export default new Yurine(); | ||
let o = new Yurine(); | ||
o.version = version; | ||
export default o; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44293
779
9
6