mirror of
https://github.com/expo/dev-plugins.git
synced 2026-11-15 03:38:09 -10:00
# Why we found it has some difficulty to setup a dev-plugin project with both app-adapter and webui. they have two package.json in the project. the webui project will be stripped out by `dist` in release build. that's confusing to setup. # How introduce the creator: try it by `yarn create dev-plugin` some code are referenced by create-expo and create-expo-module
59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"name": "create-dev-plugin",
|
|
"version": "0.0.6",
|
|
"description": "The script to create the Expo DevTools Plugins",
|
|
"main": "build",
|
|
"scripts": {
|
|
"build": "ncc build ./src/index.ts -o build/",
|
|
"build:prod": "ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register",
|
|
"clean": "expo-module clean",
|
|
"lint": "expo-module lint",
|
|
"prepare": "expo-module clean && yarn run build:prod",
|
|
"prepublishOnly": "expo-module prepublishOnly",
|
|
"test": "expo-module test",
|
|
"typecheck": "expo-module typecheck",
|
|
"watch": "yarn run build --watch"
|
|
},
|
|
"bin": {
|
|
"create-dev-plugin": "build/index.js"
|
|
},
|
|
"files": [
|
|
"build",
|
|
"templates/**/*"
|
|
],
|
|
"homepage": "https://github.com/expo/dev-plugins/tree/main/packages/create-dev-plugin",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/expo/dev-plugins.git",
|
|
"directory": "packages/create-dev-plugin"
|
|
},
|
|
"keywords": [
|
|
"expo",
|
|
"creator",
|
|
"devtools",
|
|
"plugin"
|
|
],
|
|
"author": "650 Industries, Inc.",
|
|
"license": "MIT",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@expo/json-file": "^8.2.37",
|
|
"@expo/package-manager": "^1.1.2",
|
|
"@expo/spawn-async": "^1.7.2",
|
|
"@types/ejs": "^3.1.5",
|
|
"@types/getenv": "^1.0.3",
|
|
"@types/prompts": "^2.4.9",
|
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
"@vercel/ncc": "^0.38.1",
|
|
"chalk": "^4.1.2",
|
|
"commander": "^11.1.0",
|
|
"debug": "^4.3.4",
|
|
"ejs": "^3.1.9",
|
|
"expo-module-scripts": "^3.1.0",
|
|
"getenv": "^1.0.0",
|
|
"ora": "^5.4.1",
|
|
"prompts": "^2.4.2",
|
|
"validate-npm-package-name": "^5.0.0"
|
|
}
|
|
}
|