package.json
{
"name": "alchemy_admin",
"scripts": {
"test": "jest",
"lint": "prettier --check 'app/javascript/**/*.js'",
"eslint": "eslint app/javascript/**/*.js",
"build:js": "rollup -c",
"build:css": "sass --style=compressed --source-map --load-path app/assets/stylesheets --load-path vendor/assets/stylesheets --load-path node_modules/cropperjs/dist app/stylesheets/alchemy/admin.scss:app/assets/builds/alchemy/admin.css app/stylesheets/alchemy/admin/print.scss:app/assets/builds/alchemy/admin/print.css app/stylesheets/alchemy/welcome.scss:app/assets/builds/alchemy/welcome.css app/stylesheets/tinymce/skins/content/alchemy/content.scss:app/assets/builds/tinymce/skins/content/alchemy/content.min.css app/stylesheets/tinymce/skins/ui/alchemy/skin.scss:app/assets/builds/tinymce/skins/ui/alchemy/skin.min.css app/stylesheets/alchemy/admin/page-select.scss:app/assets/builds/alchemy/admin/page-select.css",
"handlebars:compile": "handlebars app/javascript/alchemy_admin/templates/*.hbs -f app/javascript/alchemy_admin/templates/compiled.js -o -m",
"build": "bun run --bun build:js && bun run --bun build:css && bun run --bun handlebars:compile"
},
"keywords": [],
"author": "Thomas von Deyen",
"license": "BSD-3-Clause",
"dependencies": {
"@rails/ujs": "^7.1.3",
"@shoelace-style/shoelace": "^2.16.0",
"@ungap/custom-elements": "^1.3.0",
"clipboard": "^2.0.11",
"cropperjs": "^1.6.2",
"flatpickr": "^4.6.13",
"handlebars": "^4.7.8",
"jquery": "^3.7.1",
"keymaster": "^1.6.2",
"select2": "github:select2/select2#3.5.4",
"sortablejs": "^1.15.2",
"tinymce": "^7.3.0"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@babel/preset-env": "^7.24.8",
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"babel-jest": "^29.6.4",
"eslint": "^9.8.0",
"jest": "^29.6.4",
"jest-environment-jsdom": "^29.6.4",
"jsdom-testing-mocks": "^1.13.0",
"prettier": "^3.3.3",
"rollup": "^4.18.1",
"sass": "^1.77.8",
"xhr-mock": "^2.5.1"
},
"jest": {
"globals": {
"Alchemy": {}
},
"moduleNameMapper": {
"alchemy_admin/(.*)": "<rootDir>/app/javascript/alchemy_admin/$1",
"assets/(.*)": "<rootDir>/vendor/assets/javascripts/$1",
"vendor/(.*)": "<rootDir>/vendor/javascript/$1"
},
"testEnvironment": "jsdom",
"roots": [
"spec/javascript/alchemy_admin"
]
}
}