Newer
Older
"scripts": {
"tx": "tx pull --all || true",
"lint": "yarn lint:js && yarn lint:styles",
"lint:js": "cs lint '{src,test}/**/*.{js,jsx,ts,tsx}'",
"lint:styles": "stylint src/styles --config ./.stylintrc",
"prebuild": "yarn lint",
"build:cs": "build:browser",
"build:browser": "cs build --browser",
"build:mobile": "cs build --mobile",
"watch": "yarn watch:browser",
"watch:browser": "cs watch --browser",
"watch:mobile": "cs watch --mobile",
"start:cs": "cs start --hot --browser --no-stack",
"deploy": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build} --repo=${DEPLOY_REPOSITORY:-https://forge.grandlyon.com/web-et-numerique/llle_project/ecolyo.git}",
"test": "cs test --verbose --coverage",
"cozyPublish": "git fetch origin ${DEPLOY_BRANCH:-build}:${DEPLOY_BRANCH:-build} && cs publish --token $REGISTRY_TOKEN --build-commit $(git rev-parse ${DEPLOY_BRANCH:-build})",
"build:css": "node-sass -c ./src/styles -o src/styles",
"watch:css": "yarn run build:css && node-sass -c -w ./src/styles -o src/styles",
"start": "npm-run-all -p start:cs",
"build": "yarn run build:css && yarn run build:browser",
"release": "standard-version --no-verify",
"winstack": "start powershell -command docker run --rm -it -p 8080:8080 -p 5984:5984 -p 8025:8025 -v $PWD/build:/data/cozy-app/ecolyo -v $PWD/data/konnectors_sources/:/data/cozy_konnectors/ -v $PWD/data:/usr/local/couchdb/data -v $PWD/docker/disableCSP.yaml:/etc/cozy/cozy.yaml registry.forge.grandlyon.com/web-et-numerique/llle_project/ecolyo/cozy-env",
"linuxstack": "docker run --rm -it -p 8080:8080 -p 5984:5984 -p 8025:8025 -v $(pwd)/build:/data/cozy-app/ecolyo -v ~/cozy/data/db/konnectors_sources/:/data/cozy_konnectors/ -v ~/cozy/data/db:/usr/local/couchdb/data -v ~/cozy/data/storage:/data/cozy-storage -v $(pwd)/docker/disableCSP.yaml:/etc/cozy/cozy.yaml registry.forge.grandlyon.com/web-et-numerique/llle_project/ecolyo/cozy-env",
"load-data": "cd test && importData.bat"
},
"repository": {
"type": "git",
"url": "git+https://forge.grandlyon.com/web-et-numerique/llle_project/ecolyo.git"
},
"author": "",
"contributors": [],
"license": "AGPL-3.0",
"bugs": {
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
"devDependencies": {
"@babel/preset-typescript": "^7.7.4",
"@types/d3": "^5.7.2",
"@types/lodash": "^4.14.149",
"@types/luxon": "^1.21.0",
"@types/react": "^16.9.15",
"@types/react-router-dom": "^5.1.3",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"babel-preset-cozy-app": "1.5.2",
"cozy-app-publish": "^0.22.3",
"enzyme": "3.10.0",
"enzyme-adapter-react-16": "1.14.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "7.14.2",
"git-directory-deploy": "1.5.1",
"husky": ">=1",
"lint-staged": ">=8",
"loglevel": "^1.6.6",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"prettier-eslint": "^9.0.1",
"react-hot-loader": "4.12.6",
"react-test-renderer": "16.8.6",
"redux-mock-store": "1.5.3",
"standard-version": "^7.0.1",
"stylint": "1.5.9",
"typescript": "^3.7.3"
},
"dependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.7.5",
"@babel/plugin-transform-runtime": "^7.8.3",
"@fortawesome/fontawesome-svg-core": "^1.2.26",
"@fortawesome/free-solid-svg-icons": "^5.12.0",
"@fortawesome/react-fontawesome": "^0.1.8",
"@types/history": "^4.7.5",
"@types/jest": "^24.0.25",
"@types/object-hash": "^1.3.1",
"@types/react-lottie": "^1.2.3",
"axios": "^0.19.0",
"cozy-bar": "^7.7.10",
"cozy-client": "6.49.0",
"cozy-harvest-lib": "^1.15.3",
"cozy-scripts": "2.0.2",
"cozy-ui": "21.7.0",
"d3": "^5.15.0",
"eslint-config-cozy-app": "1.1.12",
"global": "^4.4.0",
"lodash": "^4.17.15",
"luxon": "^1.21.3",
"moment": "^2.24.0",
"moment-timezone": "^0.5.27",
"node-sass": "^4.13.0",
"object-hash": "^2.0.3",
"react": "16.8.6",
"react-dom": "16.8.6",
"react-lottie": "^1.2.3",
"react-router-dom": "5.0.1",
"react-swipeable-views": "0.13.4",
"sass-loader": "^8.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,test}/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add"
]
}
}