@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@ms/ployfill",
|
||||
"name": "@ccms/ployfill",
|
||||
"version": "0.5.0",
|
||||
"description": "MiaoScript ployfill package",
|
||||
"author": "MiaoWoo <admin@yumc.pw>",
|
||||
@ -7,9 +7,6 @@
|
||||
"license": "ISC",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"publishConfig": {
|
||||
"registry": "https://repo.yumc.pw/repository/npm-hosted/"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf dist",
|
||||
"watch": "tsc --watch",
|
||||
@ -17,8 +14,8 @@
|
||||
"test": "echo \"Error: run tests from root\" && exit 1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ms/i18n": "^0.5.0",
|
||||
"@ms/nashorn": "^0.5.0",
|
||||
"@ccms/i18n": "^0.5.0",
|
||||
"@ccms/nashorn": "^0.5.0",
|
||||
"core-js": "^3.6.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/// <reference types="@ms/nashorn" />
|
||||
/// <reference types="@ccms/nashorn" />
|
||||
|
||||
import i18n from '@ms/i18n'
|
||||
import i18n from '@ccms/i18n'
|
||||
let ployfillStartTime = new Date().getTime();
|
||||
i18n.initialize();
|
||||
console.i18n("ms.ployfill.initialize");
|
||||
|
@ -1,4 +1,4 @@
|
||||
import '@ms/nashorn'
|
||||
import '@ccms/nashorn'
|
||||
|
||||
const URL = Java.type("java.net.URL");
|
||||
const Files = Java.type("java.nio.file.Files");
|
||||
|
Reference in New Issue
Block a user