diff --git a/cmds/pxtrequire.ts b/cmds/pxtrequire.ts deleted file mode 100644 index 0eabce91..00000000 --- a/cmds/pxtrequire.ts +++ /dev/null @@ -1,7 +0,0 @@ -/// -/// - -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"), "..", ".."); diff --git a/cmds/tsconfig.json b/cmds/tsconfig.json deleted file mode 100644 index 7d57cc95..00000000 --- a/cmds/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "noImplicitAny": true, - "noImplicitReturns": true, - "declaration": true, - "outDir": "../built", - "module": "commonjs", - "rootDir": ".", - "newLine": "LF", - "sourceMap": false - } -} diff --git a/package.json b/package.json index f80ab846..7c3fdd4f 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,6 @@ "docs/static/*.png", "docs/static/icons/favicon.ico" ], - "main": "built/pxtrequire.js", - "typings": "built/pxtrequire.d.ts", "devDependencies": { "typescript": "^1.8.7", "rtlcss": "^2.1.2",