--- /dev/null
+{
+ "name": "njs-types",
+ "version": "0.0.0-dev",
+ "description": "TypeScript definitions for njs scripting language and nginx js modules.",
+ "scripts": {
+ "lint": "tsc"
+ },
+ "files": [
+ "**/*.d.ts"
+ ],
+ "types": "index.d.ts",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/nginx/njs.git"
+ },
+ "keywords": [
+ "nginx",
+ "njs",
+ "types"
+ ],
+ "author": "NGINX, Inc.",
+ "license": "BSD-2-Clause",
+ "bugs": {
+ "url": "https://github.com/nginx/njs/issues"
+ },
+ "homepage": "https://nginx.org/en/docs/njs/",
+ "devDependencies": {
+ "typescript": "^4.0.3"
+ }
+}
--- /dev/null
+{
+ "compilerOptions": {
+ "target": "es5",
+ "module": "es2015",
+ "lib": [
+ "ES2015",
+ "ES2016.Array.Include",
+ "ES2017.Object",
+ "ES2017.String"
+ ],
+ "noEmit": true,
+ "strict": true,
+ "noImplicitAny": true,
+ "strictNullChecks": true,
+ "strictFunctionTypes": true,
+ "strictBindCallApply": true,
+ "strictPropertyInitialization": true,
+ "noImplicitThis": true,
+ "alwaysStrict": true,
+
+ "moduleResolution": "node",
+ "forceConsistentCasingInFileNames": true
+ }
+}