Skip to content
Snippets Groups Projects
package.json 5.24 KiB
Newer Older
  • Learn to ignore specific revisions
  • Hugo NOUTS's avatar
    Hugo NOUTS committed
    {
    
      "name": "ecolyo",
    
      "version": "2.5.1",
    
      "engines": {
        "node": ">=16.0.0"
      },
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
      "scripts": {
    
        "build": "yarn run build:css && yarn run build:browser",
        "build:browser": "cs build --browser ",
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
        "build:cs": "build:browser",
    
        "build:css": "sass -c ./src/styles",
        "build-dev": "yarn run build:css && yarn run build-dev:browser",
    
        "build-dev:browser": "cs build --browser --config app.config.alpha.js",
        "build-dev:mobile": "cs build --mobile --config app.config.alpha.js",
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
        "build:mobile": "cs build --mobile",
    
        "cozyPublish": "git fetch origin ${DEPLOY_BRANCH:-build}:${DEPLOY_BRANCH:-build} && cs publish --token $REGISTRY_TOKEN --build-commit $(git rev-parse ${DEPLOY_BRANCH:-build})",
    
        "deploy": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build}",
    
        "deploy-dev": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build-dev}",
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
        "deploy-test": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build-test}",
    
        "lint:js": "eslint src -c .eslintrc.js --fix",
    
    Yoan VALLET's avatar
    Yoan VALLET committed
        "load-data": "cd test && importData.bat",
    
        "prebuild": "yarn lint",
        "prepare": "husky install",
        "release": "standard-version --no-verify",
        "start": "npm-run-all -p start:cs",
        "start:cs": "cs start --hot --browser --no-stack ",
    
        "start-stack": "cs start --hot --browser --stack",
    
        "test": "cs test --verbose --coverage",
        "tx": "tx pull --all || true",
        "watch": "yarn watch:browser",
        "watch:browser": "cs start --browser",
        "watch:mobile": "cs watch --mobile"
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
      },
      "repository": {
        "type": "git",
    
        "url": "git+https://forge.grandlyon.com/web-et-numerique/factory/llle_project/ecolyo.git"
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
      },
      "author": "",
      "contributors": [],
      "license": "AGPL-3.0",
      "bugs": {
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
      },
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
      "devDependencies": {
        "@babel/preset-typescript": "^7.7.4",
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    Hugo NOUTS's avatar
    Hugo NOUTS committed
      },
      "husky": {
        "hooks": {
          "pre-commit": "lint-staged"
        }
      },
      "lint-staged": {
        "{src,test}/**/*.{js,jsx,ts,tsx}": [
          "eslint --fix",
          "git add"
        ]
      }
    }