UNPKG

@swplabs/peanutforwp

Version:

Peanut for WordPress. Build your themes and blocks with components.

90 lines (89 loc) 2.73 kB
{ "name": "@swplabs/peanutforwp", "version": "0.1.0-alpha.10", "description": "Peanut for WordPress. Build your themes and blocks with components.", "scripts": { "start": "npm run develop", "develop": "node ./cli.js", "build": "ENVIRONMENT=${ENVIRONMENT:=prod} NODE_ENV=${NODE_ENV:=production} PFWP_DIST=${PFWP_DIST:=build} node ./cli.js build", "clean": "npx rimraf ./dist ./package-lock.json ./node_modules", "clean-dist": "PFWP_DIST=${PFWP_DIST:=develop} && npx rimraf ./dist/${PFWP_DIST}/*", "make-dist": "PFWP_DIST=${PFWP_DIST:=develop} && npx mkdirp ./dist/${PFWP_DIST}", "install-app": "NODE_ENV=development npm install", "clean-install": "npm run clean && npm run install-app" }, "bin": { "peanut": "./cli.js" }, "keywords": [ "wordpress", "components", "webpack", "peanut" ], "author": "SWP Labs", "license": "GPL-3.0", "homepage": "https://www.peanutforwp.com/", "repository": { "type": "git", "url": "https://github.com/swplabs/peanut.git" }, "engines": { "node": ">=18.12.0" }, "funding": { "type": "ko-fi", "url": "https://ko-fi.com/swplabs" }, "dependencies": { "@babel/core": "7.26.0", "@babel/eslint-parser": "7.25.9", "@babel/preset-env": "7.26.0", "@babel/preset-typescript": "7.26.0", "@inquirer/prompts": "7.2.1", "@pmmmwh/react-refresh-webpack-plugin": "0.5.15", "@wordpress/babel-preset-default": "8.14.0", "@wordpress/dependency-extraction-webpack-plugin": "6.14.0", "@wordpress/eslint-plugin": "22.0.0", "adm-zip": "0.5.16", "autoprefixer": "10.4.20", "babel-loader": "9.2.1", "chokidar": "4.0.3", "commander": "12.1.0", "core-js": "3.39.0", "css-loader": "7.1.2", "eslint": "8.57.0", "glob": "11.0.0", "mini-css-extract-plugin": "2.9.2", "mkdirp": "3.0.1", "nconf": "0.12.1", "postcss": "8.4.49", "postcss-import": "16.1.0", "postcss-loader": "8.1.1", "postcss-preset-env": "10.1.3", "prettier": "3.4.2", "react": "18.3.1", "react-dom": "18.3.1", "react-refresh": "0.16.0", "resolve-url-loader": "5.0.0", "rimraf": "6.0.1", "sass": "1.83.0", "sass-loader": "16.0.4", "style-loader": "4.0.0", "typescript": "5.7.2", "webpack": "5.97.1", "webpack-cli": "6.0.1", "webpack-dev-middleware": "7.4.2", "webpack-hot-middleware": "2.26.1", "webpack-node-externals": "3.0.0" }, "devDependencies": { "@commitlint/cli": "19.6.1", "@commitlint/config-conventional": "19.6.0", "husky": "9.1.7" }, "config": { "published": true, "pluginGitUrl": "https://github.com/swplabs/peanut-plugin/archive/refs/heads/main.zip" } }