node package.json配置

2021-04-16  本文已影响0人  冲云简
{
"name": "xuShangStoreApp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint --ext .js ./src --fix",
    "build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios'"
  },
}

调试js的package.json配置

{
    "scripts": {
    "start": "node test1.js",
    "test": "node test.js"
   }
}

原文链接:https://blog.csdn.net/weixin_42420703/article/details/81870815

上一篇 下一篇

猜你喜欢

热点阅读