- Fix version-check.js to use git tag version for releases - Add new-version.js script for proper version/tag synchronization - Update package.json to correct version 1.1.0 The new-version.js script ensures package.json and git tags are always synchronized by: 1. Updating package.json with new version 2. Committing the change 3. Tagging the commit This prevents version mismatches and git dirty states.
65 lines
1.3 KiB
JSON
65 lines
1.3 KiB
JSON
{
|
|
"name": "jmespath-playground",
|
|
"version": "1.1.0",
|
|
"description": "A React-based web application for testing JMESPath expressions against JSON data",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"prebuild": "node scripts/version-check.js",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"server": "node server.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=24.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@testing-library/jest-dom": "^6.1.4",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@testing-library/user-event": "^14.5.1",
|
|
"bootstrap": "^5.3.2",
|
|
"express": "^4.19.2",
|
|
"jmespath": "^0.16.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-scripts": "^5.0.1",
|
|
"uuid": "^9.0.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"jest": {
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{js,jsx,ts,tsx}",
|
|
"!src/index.js"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"keywords": [
|
|
"jmespath",
|
|
"json",
|
|
"query",
|
|
"testing",
|
|
"react"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"supertest": "^7.2.2"
|
|
}
|
|
}
|