-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
executable file
·34 lines (34 loc) · 2.34 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
25
26
27
28
29
30
31
32
33
34
{
"name": "oskari-frontend-paikkis",
"version": "1.29.0",
"description": "kartta.paikkatietoikkuna.fi bundles & app conf",
"license": "(MIT OR EUPL-1.1)",
"keywords": [
"Oskari"
],
"dependencies": {
"fs-extra": "^8.1.0",
"oskari-frontend": "https://[email protected]/oskariorg/oskari-frontend.git#2.14.0",
"oskari-frontend-contrib": "https://[email protected]/oskariorg/oskari-frontend.git#2.14.0"
},
"devDependencies": {
"@cyclonedx/bom": "^3.10.1"
},
"scripts": {
"dev-mode": "node ./node_modules/oskari-frontend/scripts/oskari-dev-mode",
"dev-mode:off": "npm run dev-mode -- disabled",
"dev-mode:on": "npm run dev-mode -- enabled",
"dev-mode:disable": "npm run dev-mode:on && npm run dev-mode:clean && npm i git+https://[email protected]/oskariorg/oskari-frontend.git#develop && npm i git+https://[email protected]/oskariorg/oskari-frontend-contrib.git#develop && npm i",
"dev-mode:enable": "npm run dev-mode:off && npm run dev-mode:available && npm run dev-mode:clean && npm i ../oskari-frontend && npm i ../oskari-frontend-contrib && npm i",
"dev-mode:available": "node ./node_modules/oskari-frontend/scripts/oskari-dev-mode-requirements",
"dev-mode:clean": "(rm -r node_modules || true) && (rm package-lock.json || true)",
"build": "npm run dev-mode:off && webpack --config ./node_modules/oskari-frontend/webpack.config.js --mode production --progress --env appdef=applications --env theme=theme.less",
"start": "npm run dev-mode:off && webpack-dev-server --config ./node_modules/oskari-frontend/webpack.config.js --hot --env appdef=applications --env theme=theme.less",
"build:dev": "npm run dev-mode:on && node ./node_modules/oskari-frontend/node_modules/webpack/bin/webpack.js --config ./node_modules/oskari-frontend/webpack.config.js --mode production --progress --env appdef=applications --env theme=theme.less",
"start:dev": "npm run dev-mode:on && node ./node_modules/oskari-frontend/node_modules/webpack-dev-server/bin/webpack-dev-server.js --config ./node_modules/oskari-frontend/webpack.config.js --hot --env appdef=devapp:applications --env theme=theme.less",
"sprite": "node ./node_modules/oskari-frontend/webpack/sprite.js",
"test": "eslint --config ./node_modules/oskari-frontend/.eslintrc.js bundles",
"generate-bom": "cyclonedx-bom --include-dev -o frontend-bom.json"
},
"private": true
}