diff --git a/arches_rdm_example_project/package.json b/arches_rdm_example_project/package.json deleted file mode 100644 index 736a117..0000000 --- a/arches_rdm_example_project/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "arches_rdm_example_project", - "license": "AGPL-3.0-only", - "scripts": { - "build_development": "yarn eslint:check && yarn typescript:check && ./media/node_modules/.bin/cross-env NODE_PATH=./media/node_modules NODE_OPTIONS=--max-old-space-size=2048 ./media/node_modules/.bin/webpack --config webpack/webpack.config.dev.js", - "build_production": "yarn eslint:check && yarn typescript:check && ./media/node_modules/.bin/cross-env NODE_PATH=./media/node_modules NODE_OPTIONS=--max-old-space-size=2048 NODE_ENV=production ./media/node_modules/.bin/webpack --config webpack/webpack.config.prod.js", - "build_test": "yarn eslint:check && yarn typescript:check && ./media/node_modules/.bin/cross-env NODE_PATH=./media/node_modules NODE_OPTIONS=--max-old-space-size=2048 ./media/node_modules/.bin/webpack --config webpack/webpack.config.dev.js --env test=true", - "eslint:check": "./media/node_modules/.bin/eslint ./src --resolve-plugins-relative-to ./media --ext .vue,.ts --parser ./media/node_modules/vue-eslint-parser/index.js", - "eslint:watch": "./media/node_modules/.bin/nodemon --watch ./src --ext ts,vue --exec yarn --silent eslint:check", - "gettext:extract": "./media/node_modules/.bin/vue-gettext-extract", - "gettext:compile": "./media/node_modules/.bin/vue-gettext-compile", - "typescript:check": "./media/node_modules/.bin/vue-tsc --noEmit", - "typescript:watch": "./media/node_modules/.bin/vue-tsc --watch --noEmit", - "start": "./media/node_modules/.bin/cross-env NODE_PATH=./media/node_modules NODE_OPTIONS=--max-old-space-size=2048 ./media/node_modules/.bin/webpack serve --config webpack/webpack.config.dev.js" - }, - "devDependencies": { - "arches-dev-dependencies": "archesproject/arches-dev-dependencies#dev/7.6.x" - }, - "dependencies": { - "arches": "archesproject/arches#dev/7.6.x", - "arches_rdm": "archesproject/arches-rdm" - }, - "nodeModulesPaths": {}, - "resolutions": { - "node-gyp": "^10.0.0" - } -} diff --git a/package.json b/package.json new file mode 100644 index 0000000..f7cc91a --- /dev/null +++ b/package.json @@ -0,0 +1,31 @@ +{ + "name": "arches_rdm_example_project", + "license": "AGPL-3.0-only", + "scripts": { + "build_development": "npm run eslint:check && npm run ts:check && cross-env NODE_OPTIONS=--max-old-space-size=2048 webpack --config ./webpack/webpack.config.dev.js", + "build_production": "npm run eslint:check && npm run ts:check && cross-env NODE_OPTIONS=--max-old-space-size=2048 NODE_ENV=production webpack --config ./webpack/webpack.config.prod.js", + "build_test": "npm run eslint:check && npm run ts:check && cross-env NODE_OPTIONS=--max-old-space-size=2048 webpack --config ./webpack/webpack.config.dev.js --env test=true", + "eslint:check": "eslint **/src", + "eslint:fix": "eslint **/src --fix", + "eslint:watch": "nodemon --watch . --ext ts,vue --exec npm run --silent eslint:check", + "gettext:extract": "vue-gettext-extract", + "gettext:compile": "vue-gettext-compile", + "prettier:check": "prettier arches_rdm_example_project/src --check", + "prettier:fix": "prettier arches_rdm_example_project/src --write", + "ts:check": "vue-tsc --noEmit", + "ts:watch": "vue-tsc --watch --noEmit", + "start": "cross-env NODE_OPTIONS=--max-old-space-size=2048 webpack serve --config ./webpack/webpack.config.dev.js", + "vitest": "vitest --run --coverage" + }, + "devDependencies": { + "arches-dev-dependencies": "archesproject/arches-dev-dependencies#dev/7.6.x" + }, + "dependencies": { + "arches": "archesproject/arches#dev/7.6.x", + "arches_rdm": "archesproject/arches-rdm" + }, + "nodeModulesPaths": {}, + "resolutions": { + "node-gyp": "^10.0.0" + } +}