pulumi/sdk/nodejs/tsconfig.json
joeduffy 1df1b6d572 Get integration tests passing
This makes a few tweaks to get the integration tests passing:

* Add `runtime: nodejs` to the minimal example's `Lumi.yaml` file.

* Remove usage of `@lumi/lumirt { printf }` and just use `console.log`.

* Remove calls to `lumijs` in the integration test framework and
  the minimal example's package.json.  Instead, we just run
  `yarn run build`, which itself internally just invokes `tsc`.

* Add package validation logic and eliminate the pkg/compiler/metadata
  library, in favor of the simpler code in pkg/engine.

* Simplify the Node.js langhost plugin CLI, and simply take an
  argument rather than requiring required and optional --flags.

* Use a default path of "." if the program path isn't provided.  This
  is a legal scenario if you've passed a pwd and just want to load
  the package's default module ("./index.js" or whatever main says).

* Add an executable script, lumi-langhost-nodejs, that fires up the
  `bin/cmd/langhost/index.js` file to serve the Node.js language plugin.
2017-09-04 11:35:21 -07:00

41 lines
1 KiB
JSON

{
"compilerOptions": {
"outDir": "bin",
"target": "es6",
"module": "commonjs",
"moduleResolution": "node",
"declaration": true,
"sourceMap": true,
"stripInternal": true,
"experimentalDecorators": true,
"pretty": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"forceConsistentCasingInFileNames": true,
"strictNullChecks": true
},
"files": [
"lib/index.ts",
"lib/config.ts",
"lib/property.ts",
"lib/resource.ts",
"lib/asset/index.ts",
"lib/asset/asset.ts",
"lib/asset/archive.ts",
"lib/runtime/index.ts",
"lib/runtime/config.ts",
"lib/runtime/monitor.ts",
"lib/runtime/resource.ts",
"lib/runtime/langhost.ts",
"cmd/langhost/index.ts",
"cmd/langhost/run.ts",
"tests/init.spec.ts",
"tests/util.ts",
"tests/langhost/run.spec.ts"
]
}