-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
24 lines (24 loc) · 1.28 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"name": "Arizona JS",
"scripts": {
"morphdom-cp": "cp node_modules/morphdom/dist/morphdom-esm.js priv/static/assets/js",
"morphdom-rm-export": "sed -i'.bak' -e \"s/export default morphdom;/self.morphdom=morphdom;/g\" priv/static/assets/js/morphdom-esm.js && rm -f priv/static/assets/js/morphdom-esm.js.bak",
"morphdom-wrap": "echo \"(function() {\n$(cat priv/static/assets/js/morphdom-esm.js)\n}());\" > priv/static/assets/js/morphdom-esm.js",
"morphdom-uglify": "uglifyjs priv/static/assets/js/morphdom-esm.js > priv/static/assets/js/morphdom.min.js",
"morphdom-clean": "rm -f priv/static/assets/js/morphdom-esm.js",
"build": "npm run morphdom-cp && npm run morphdom-rm-export && npm run morphdom-wrap && npm run morphdom-uglify && npm run morphdom-clean",
"prettier": "prettier priv/static/assets/js/arizona*.js --write && prettier eslint.config.mjs --write && prettier package.json --write",
"eslint": "eslint priv/static/assets/js/arizona*.js && eslint eslint.config.mjs",
"ci": "npm install && npm run build && npm run prettier && npm run eslint"
},
"devDependencies": {
"@eslint/js": "9.16.0",
"eslint": "9.16.0",
"globals": "15.13.0",
"prettier": "3.4.2",
"uglify-js": "3.19.3"
},
"dependencies": {
"morphdom": "2.7.4"
}
}