55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"name": "cognito-forms-wordpress",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"main": "src/blocks.ts",
|
|
"scripts": {
|
|
"build:js": "webpack --mode=production",
|
|
"build:sass": "sass src/styles:dist",
|
|
"build": "npm run build:js && npm run build:sass",
|
|
"watch:js": "webpack --mode=development --watch",
|
|
"watch:sass": "sass -w src/styles:dist",
|
|
"start": "shx rm -rf dist/* && concurrently -n \"JS,CSS\" -c \"bgBlue.bold,bgMagenta.bold\" --kill-others \"npm run watch:js\" \"wait-on dist/index.js && npm run watch:sass\""
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@types/classnames": "^2.2.10",
|
|
"@types/node": "^17.0.8",
|
|
"@types/react": "^17.0.38",
|
|
"@types/react-dom": "^17.0.11",
|
|
"@types/wordpress__block-editor": "^6.0.4",
|
|
"@types/wordpress__blocks": "^9.1.1",
|
|
"@wordpress/block-editor": "^8.0.13",
|
|
"@wordpress/blocks": "^11.1.5",
|
|
"@wordpress/i18n": "^4.2.4",
|
|
"@wordpress/scripts": "^19.2.2",
|
|
"classnames": "^2.2.6",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-scripts": "5.0.0",
|
|
"svg-react-loader": "^0.4.6",
|
|
"ts-loader": "^9.2.6",
|
|
"typescript": "~4.5.4",
|
|
"webpack": "^5.66.0",
|
|
"webpack-cli": "^4.9.1"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^7.0.0",
|
|
"prettier": "^2.0.5",
|
|
"sass": "^1.48.0",
|
|
"shx": "^0.3.4",
|
|
"wait-on": "^6.0.0"
|
|
}
|
|
}
|