-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from CPatchane/start_over
Start over the application from CCA
- Loading branch information
Showing
27 changed files
with
3,507 additions
and
4,126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: ['cozy-app'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,20 @@ | ||
module.exports = { | ||
moduleFileExtensions: [ | ||
'js', | ||
'jsx', | ||
'json', | ||
'styl' | ||
], | ||
setupFiles: [ | ||
'<rootDir>/test/jestLib/setup.js' | ||
], | ||
moduleDirectories: [ | ||
'node_modules', | ||
'src' | ||
], | ||
testURL: 'http://localhost/', | ||
moduleFileExtensions: ['js', 'jsx', 'json', 'styl'], | ||
setupFiles: ['<rootDir>/test/jestLib/setup.js'], | ||
moduleDirectories: ['src', 'node_modules'], | ||
transform: { | ||
'^.+\\.(js|jsx)?$': '<rootDir>/test/jestLib/babel-transformer.js' | ||
}, | ||
moduleNameMapper: { | ||
'\\.(png|gif|jpe?g|svg)$': '<rootDir>/test/__mocks__/fileMock.js', | ||
// identity-obj-proxy module is installed by cozy-scripts | ||
'styles': 'identity-obj-proxy' | ||
styles: 'identity-obj-proxy' | ||
}, | ||
transformIgnorePatterns: [ | ||
'node_modules/(?!cozy-ui)' | ||
], | ||
transformIgnorePatterns: ['node_modules/(?!cozy-ui)'], | ||
globals: { | ||
'__ALLOW_HTTP__': false, | ||
'__TARGET__': 'browser', | ||
'cozy': {} | ||
__ALLOW_HTTP__: false, | ||
__TARGET__: 'browser', | ||
cozy: {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,57 @@ | ||
{ | ||
"name": "cozy-interapp-sandbox", | ||
"name": "cozy-sandbox", | ||
"version": "0.1.0", | ||
"scripts": { | ||
"clean:browser": "rm -rf build/", | ||
"clean:mobile": "rm -rf targets/mobile/www", | ||
"lint": "npm-run-all --parallel lint:*", | ||
"lint:js": "eslint '{src,test}/**/*.{js,jsx}'", | ||
"format:js": "yarn lint:js --fix", | ||
"tx": "tx pull --all || true", | ||
"lint": "yarn lint:js && yarn lint:styles", | ||
"lint:js": "cozy-scripts lint '{src,test}/**/*.{js,jsx}'", | ||
"lint:styles": "stylint src/styles --config ./.stylintrc", | ||
"prebuild": "yarn lint", | ||
"build": "yarn build:browser", | ||
"commons:build": "cozy-scripts build", | ||
"build:browser": "npm-run-all --serial clean:browser lint 'commons:build --browser --production'", | ||
"build:mobile": "npm-run-all --serial clean:mobile lint 'commons:build --mobile --production'", | ||
"build:browser": "cozy-scripts build --browser", | ||
"build:mobile": "cozy-scripts build --mobile", | ||
"watch": "yarn watch:browser", | ||
"commons:watch": "cozy-scripts watch", | ||
"watch:browser": "npm-run-all --serial clean:browser 'commons:watch --browser --development'", | ||
"watch:mobile": "npm-run-all --serial clean:mobile 'commons:watch --mobile --development'", | ||
"watch:standalone": "yarn watch:browser:standalone", | ||
"commons:watch:standalone": "cozy-scripts standalone", | ||
"watch:browser:standalone": "npm-run-all --serial clean:mobile 'commons:watch:standalone --browser --development'", | ||
"watch:mobile:standalone": "npm-run-all --serial clean:mobile 'commons:watch:standalone --browser --development'", | ||
"deploy": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build} --repo=${DEPLOY_REPOSITORY:-https://[email protected]/cozy/cozy-interapp-sandbox.git}", | ||
"watch:browser": "cozy-scripts watch --browser", | ||
"watch:mobile": "cozy-scripts watch --mobile", | ||
"start": "cozy-scripts start --hot --browser", | ||
"deploy": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build} --repo=${DEPLOY_REPOSITORY:-https://[email protected]/cozy/cozy-sandbox.git}", | ||
"test": "cozy-scripts test --verbose --coverage", | ||
"stack:docker": "docker run --rm -it -p 8080:8080 -p 5984:5984 -v \"$(pwd)/build\":/data/cozy-app/app cozy/cozy-app-dev", | ||
"cozyPublish": "cozy-scripts publish --token $REGISTRY_TOKEN --build-commit $(git rev-parse ${DEPLOY_BRANCH:-build})" | ||
"cozyPublish": "git fetch origin ${DEPLOY_BRANCH:-build}:${DEPLOY_BRANCH:-build} && cozy-scripts publish --token $REGISTRY_TOKEN --build-commit $(git rev-parse ${DEPLOY_BRANCH:-build})" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/cozy/cozy-interapp-sandbox.git" | ||
"url": "git+https://github.com/cozy/cozy-sandbox.git" | ||
}, | ||
"author": "", | ||
"contributors": [], | ||
"license": "AGPL-3.0", | ||
"bugs": { | ||
"url": "https://github.com/cozy/cozy-interapp-sandbox/issues" | ||
"url": "https://github.com/cozy/cozy-sandbox/issues" | ||
}, | ||
"homepage": "https://github.com/cozy/cozy-interapp-sandbox#readme", | ||
"homepage": "https://github.com/cozy/cozy-sandbox#readme", | ||
"devDependencies": { | ||
"babel-polyfill": "6.26.0", | ||
"babel-preset-cozy-app": "1.1.1", | ||
"enzyme": "3.3.0", | ||
"enzyme-adapter-react-16": "1.1.1", | ||
"eslint": "5.9.0", | ||
"eslint-config-cozy-app": "1.1.4", | ||
"babel-core": "7.0.0-bridge.0", | ||
"babel-preset-cozy-app": "1.2.1", | ||
"enzyme": "3.7.0", | ||
"enzyme-adapter-react-16": "1.7.0", | ||
"eslint-plugin-prettier": "3.0.0", | ||
"eslint-plugin-react": "7.11.1", | ||
"git-directory-deploy": "1.5.1", | ||
"npm-run-all": "4.1.3", | ||
"prettier": "1.14.2", | ||
"react": "16.4.1", | ||
"react-dom": "16.4.1", | ||
"react-test-renderer": "16.4.1", | ||
"redux-logger": "3.0.6", | ||
"redux-mock-store": "1.5.3", | ||
"prettier": "1.15.2", | ||
"react-hot-loader": "4.3.12", | ||
"react-test-renderer": "16.6.3", | ||
"stylint": "1.5.9" | ||
}, | ||
"dependencies": { | ||
"cozy-bar": "5.0.8", | ||
"cozy-client": "^2.13.1", | ||
"cozy-client-js": "0.11.0", | ||
"cozy-interapp": "^0.2.3", | ||
"cozy-scripts": "^0.10.6", | ||
"cozy-ui": "10.9.2", | ||
"eslint-plugin-prettier": "2.6.2", | ||
"eslint-plugin-react": "^7.11.1", | ||
"preact": "8.3.1", | ||
"preact-compat": "3.18.0", | ||
"preact-context": "^1.1.0", | ||
"react-redux": "5.0.7", | ||
"react-router-dom": "4.3.1", | ||
"redux": "4.0.0", | ||
"redux-raven-middleware": "1.2.0", | ||
"redux-thunk": "2.3.0" | ||
"cozy-bar": "6.8.3", | ||
"cozy-client": "3.6.4", | ||
"cozy-client-js": "^0.14.2", | ||
"cozy-interapp": "^0.2.13", | ||
"cozy-scripts": "1.2.0", | ||
"cozy-ui": "17.2.0", | ||
"eslint-config-cozy-app": "1.1.4", | ||
"react": "16.6.3", | ||
"react-dom": "16.6.3", | ||
"react-router-dom": "4.3.1" | ||
} | ||
} |
Oops, something went wrong.