diff --git a/packages-legacy/eslint-plugin-nx/package.json b/packages-legacy/eslint-plugin-nx/package.json index 003f127a5b5ea..a9d0b14406399 100644 --- a/packages-legacy/eslint-plugin-nx/package.json +++ b/packages-legacy/eslint-plugin-nx/package.json @@ -15,8 +15,8 @@ "ESLint", "CLI" ], - "main": "./src/index.js", - "typings": "./src/index.d.ts", + "main": "./index.js", + "typings": "./index.d.ts", "author": "Victor Savkin", "license": "MIT", "bugs": { diff --git a/packages-legacy/js/package.json b/packages-legacy/js/package.json index 7d19672e7f371..7239ee1d414e5 100644 --- a/packages-legacy/js/package.json +++ b/packages-legacy/js/package.json @@ -16,8 +16,8 @@ "Tsc", "CLI" ], - "main": "src/index.js", - "typings": "src/index.d.ts", + "main": "./index.js", + "typings": "./index.d.ts", "license": "MIT", "bugs": { "url": "https://github.com/nrwl/nx/issues"