Skip to content
Snippets Groups Projects
package.json 1.69 KiB
Newer Older
  "name": "coop-starter",
  "version": "1.0.0",
  "license": "MIT",
Clément's avatar
Clément committed
    "test": "cypress run",
    "cypress": "cypress open",
    "scss": "node-sass ./src/styles/index.scss -o ./www/styles/",
    "pug": "npm run copy-config && node ./compile-pug.js",
    "copy-js": "cp -rv ./src/scripts/  ./www/",
    "copy-fonts": "cp -R ./src/fonts  ./www",
    "copy-images": "cp -R ./src/images  ./www",
Clément's avatar
Clément committed
    "copy-config": "cp -n src/config.sample.json src/config.json",
    "watch-js": "onchange 'src/scripts/*.js' -- run-s copy-js",
Clément's avatar
Clément committed
    "build": "run-s copy-js copy-fonts copy-images pug scss",
fred's avatar
fred committed
    "watch": "run-p watch-js copy-fonts copy-images \"pug -- -w\" \"scss -- -w\" ",
Clément's avatar
Clément committed
    "serve": "node server.js",
    "start": "node server.js"
  "devDependencies": {
Clément's avatar
Clément committed
  },
  "description": "This repository is the frontend application of the CoopStarter project.",
  "main": "compile-pug.js",
  "repository": {
    "type": "git",
    "url": "git@git.happy-dev.fr:startinblox/applications/coop-starter/coopstarter-front.git"
  },
  "keywords": [],
  "author": ""