Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

New MPP: js preset test dependencies appears on package.json production scope deps #128

Open
wem opened this issue Dec 18, 2018 · 0 comments

Comments

@wem
Copy link
Contributor

wem commented Dec 18, 2018

In the new-mpp example when i execute ./gradlew build, the resulting package.json looks like.

{
    "name": "new-mpp",
    "version": "0.0.0",
    "description": "Here we have custom description",
    "main": "new-mpp",
    "dependencies": {
        "kotlin": "1.3.10",
        "kotlin-test": "1.3.10"
    },
    "devDependencies": {
        "karma": "*",
        "webpack": "*",
        "webpack-cli": "*",
        "webpack-dev-server": "*",
        "source-map-loader": "*"
    }
}

Where "kotlin-test" should appear in "devDependencies", not in the production dependencies.

I can reproduce this in my own projects.

@wem wem changed the title js preset test dependencies are on production scope js preset test dependencies appears on package.json production scope deps Dec 18, 2018
@wem wem changed the title js preset test dependencies appears on package.json production scope deps New MPP: js preset test dependencies appears on package.json production scope deps Dec 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant