Remove pxt-require (#763)

This commit is contained in:
Guillaume Jenkins 2018-05-07 13:15:37 -04:00 committed by Peli de Halleux
parent f842f96375
commit 1d739f7409
3 changed files with 0 additions and 22 deletions

View File

@ -1,7 +0,0 @@
/// <reference path="../node_modules/pxt-core/typings/globals/node/index.d.ts"/>
/// <reference path="../node_modules/pxt-core/built/pxtlib.d.ts" />
import * as path from "path";
export let pxtCore = require("pxt-core");
// require.resolve() gives path to [pxt dir]/built/pxt.js, so move up twice to get pxt root dir
export let pxtCoreDir = path.resolve(require.resolve("pxt-core"), "..", "..");

View File

@ -1,13 +0,0 @@
{
"compilerOptions": {
"target": "es5",
"noImplicitAny": true,
"noImplicitReturns": true,
"declaration": true,
"outDir": "../built",
"module": "commonjs",
"rootDir": ".",
"newLine": "LF",
"sourceMap": false
}
}

View File

@ -31,8 +31,6 @@
"docs/static/*.png", "docs/static/*.png",
"docs/static/icons/favicon.ico" "docs/static/icons/favicon.ico"
], ],
"main": "built/pxtrequire.js",
"typings": "built/pxtrequire.d.ts",
"devDependencies": { "devDependencies": {
"typescript": "^1.8.7", "typescript": "^1.8.7",
"rtlcss": "^2.1.2", "rtlcss": "^2.1.2",