初始化 ik_invoicing 项目
parents
Showing
.babelrc
0 → 100644
.editorconfig
0 → 100644
.eslintrc.json
0 → 100644
.gitattributes
0 → 100644
.gitignore
0 → 100644
.lgtm
0 → 100644
.nvmrc
0 → 100644
.travis.yml
0 → 100644
README.md
0 → 100644
appveyor.yml
0 → 100644
docs/README.md
0 → 100644
docs/css/README.md
0 → 100644
docs/css/remove.md
0 → 100644
docs/css/sanitize.md
0 → 100644
docs/css/sass.md
0 → 100644
docs/css/styled-componets.md
0 → 100644
docs/general/README.md
0 → 100644
docs/general/commands.md
0 → 100644
docs/general/deployment.md
0 → 100644
docs/general/faq.md
0 → 100644
docs/general/files.md
0 → 100644
docs/general/gotchas.md
0 → 100644
docs/general/remove.md
0 → 100644
docs/general/server-configs.md
0 → 100644
docs/general/webstorm-debug.png
0 → 100644
This diff was suppressed by a .gitattributes entry.
docs/general/webstorm-eslint.png
0 → 100644
This diff was suppressed by a .gitattributes entry.
docs/js/README.md
0 → 100644
docs/js/i18n.md
0 → 100644
docs/js/immutablejs.md
0 → 100644
docs/js/redux-saga.md
0 → 100644
docs/js/redux.md
0 → 100644
docs/js/remove.md
0 → 100644
docs/js/reselect.md
0 → 100644
docs/js/routing.md
0 → 100644
docs/testing/README.md
0 → 100644
docs/testing/component-testing.md
0 → 100644
docs/testing/remote-testing.md
0 → 100644
docs/testing/unit-testing.md
0 → 100644
This diff is collapsed.
Click to expand it.
internals/config.js
0 → 100644
internals/generators/component/es6.js.hbs
0 → 100644
internals/generators/component/index.js
0 → 100644
internals/generators/component/test.js.hbs
0 → 100644
internals/generators/container/index.js
0 → 100644
internals/generators/container/index.js.hbs
0 → 100644
internals/generators/container/sagas.js.hbs
0 → 100644
internals/generators/container/test.js.hbs
0 → 100644
internals/generators/index.js
0 → 100644
internals/generators/route/index.js
0 → 100644
internals/generators/route/route.hbs
0 → 100644
internals/scripts/analyze.js
0 → 100644
internals/scripts/clean.js
0 → 100644
internals/scripts/dependencies.js
0 → 100644
internals/scripts/extract-intl.js
0 → 100644
internals/scripts/helpers/checkmark.js
0 → 100644
internals/scripts/helpers/progress.js
0 → 100644
internals/scripts/npmcheckversion.js
0 → 100644
internals/scripts/pagespeed.js
0 → 100755
internals/testing/karma.conf.js
0 → 100644
internals/testing/test-bundler.js
0 → 100644
internals/webpack/webpack.base.babel.js
0 → 100644
internals/webpack/webpack.dev.babel.js
0 → 100644
internals/webpack/webpack.dll.babel.js
0 → 100644
internals/webpack/webpack.prod.babel.js
0 → 100644
internals/webpack/webpack.test.babel.js
0 → 100644
package.json
0 → 100644
{ | |||
"name": "ik_invoicing", | |||
"version": "1.0.0", | |||
"description": "ik invoicing for dingtalk", | |||
"repository": { | |||
"type": "git", | |||
"url": "http://gitlab.ikcrm.com/ikcrm_frontend/ik_invoicing.git" | |||
}, | |||
"engines": { | |||
"npm": ">=3" | |||
}, | |||
"author": "ik developer", | |||
"license": "MIT", | |||
"scripts": { | |||
"analyze:clean": "rimraf stats.json", | |||
"preanalyze": "npm run analyze:clean", | |||
"analyze": "node ./internals/scripts/analyze.js", | |||
"extract-intl": "babel-node --presets latest,stage-0 -- ./internals/scripts/extract-intl.js", | |||
"npmcheckversion": "node ./internals/scripts/npmcheckversion.js", | |||
"preinstall": "npm run npmcheckversion", | |||
"postinstall": "npm run build:dll", | |||
"prebuild": "npm run build:clean && npm run test", | |||
"build": "cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress", | |||
"build:clean": "npm run test:clean && rimraf ./build", | |||
"build:dll": "node ./internals/scripts/dependencies.js", | |||
"start": "cross-env NODE_ENV=development node server", | |||
"start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server", | |||
"start:production": "npm run build && npm run start:prod", | |||
"start:prod": "cross-env NODE_ENV=production node server", | |||
"pagespeed": "node ./internals/scripts/pagespeed.js", | |||
"presetup": "npm i chalk shelljs", | |||
"setup": "node ./internals/scripts/setup.js", | |||
"postsetup": "npm run build:dll", | |||
"clean": "shjs ./internals/scripts/clean.js", | |||
"clean:all": "npm run analyze:clean && npm run test:clean && npm run build:clean", | |||
"generate": "plop --plopfile internals/generators/index.js", | |||
"lint": "npm run lint:js", | |||
"lint:eslint": "eslint --ignore-path .gitignore --ignore-pattern internals/scripts", | |||
"lint:js": "npm run lint:eslint -- . ", | |||
"lint:staged": "lint-staged", | |||
"pretest": "npm run test:clean && npm run lint", | |||
"test:clean": "rimraf ./coverage", | |||
"test": "cross-env NODE_ENV=test karma start internals/testing/karma.conf.js --single-run", | |||
"test:watch": "npm run test -- --auto-watch --no-single-run", | |||
"test:firefox": "npm run test -- --browsers Firefox", | |||
"test:safari": "npm run test -- --browsers Safari", | |||
"test:ie": "npm run test -- --browsers IE", | |||
"coveralls": "cat ./coverage/lcov/lcov.info | coveralls" | |||
}, | |||
"lint-staged": { | |||
"*.js": "lint:eslint" | |||
}, | |||
"pre-commit": "lint:staged", | |||
"dllPlugin": { | |||
"path": "node_modules/react-boilerplate-dlls", | |||
"exclude": [ | |||
"chalk", | |||
"compression", | |||
"cross-env", | |||
"express", | |||
"ip", | |||
"minimist", | |||
"sanitize.css" | |||
], | |||
"include": [ | |||
"core-js", | |||
"lodash", | |||
"eventsource-polyfill" | |||
] | |||
}, | |||
"dependencies": { | |||
"babel-polyfill": "6.16.0", | |||
"chalk": "1.1.3", | |||
"compression": "1.6.2", | |||
"cross-env": "3.1.3", | |||
"express": "4.14.0", | |||
"fontfaceobserver": "2.0.5", | |||
"immutable": "3.8.1", | |||
"intl": "1.2.5", | |||
"invariant": "2.2.1", | |||
"ip": "1.1.3", | |||
"lodash": "4.16.4", | |||
"minimist": "1.2.0", | |||
"react": "15.3.2", | |||
"react-dom": "15.3.2", | |||
"react-helmet": "3.1.0", | |||
"react-redux": "4.4.5", | |||
"react-router": "3.0.0", | |||
"react-router-redux": "4.0.6", | |||
"react-router-scroll": "0.3.3", | |||
"redux": "3.6.0", | |||
"redux-immutable": "3.0.8", | |||
"redux-saga": "0.12.0", | |||
"reselect": "2.5.4", | |||
"sanitize.css": "4.1.0", | |||
"styled-components": "1.0.3", | |||
"warning": "3.0.0", | |||
"whatwg-fetch": "1.0.0" | |||
}, | |||
"devDependencies": { | |||
"babel-cli": "6.18.0", | |||
"babel-core": "6.18.0", | |||
"babel-eslint": "7.1.0", | |||
"babel-loader": "6.2.7", | |||
"babel-plugin-istanbul": "2.0.3", | |||
"babel-plugin-react-intl": "2.2.0", | |||
"babel-plugin-react-transform": "2.0.2", | |||
"babel-plugin-transform-react-constant-elements": "6.9.1", | |||
"babel-plugin-transform-react-inline-elements": "6.8.0", | |||
"babel-plugin-transform-react-remove-prop-types": "0.2.10", | |||
"babel-preset-latest": "6.16.0", | |||
"babel-preset-react": "6.16.0", | |||
"babel-preset-react-hmre": "1.1.1", | |||
"babel-preset-stage-0": "6.16.0", | |||
"chai": "3.5.0", | |||
"chai-enzyme": "0.5.2", | |||
"cheerio": "0.22.0", | |||
"coveralls": "2.11.14", | |||
"css-loader": "0.25.0", | |||
"enzyme": "2.5.1", | |||
"eslint": "3.9.0", | |||
"eslint-config-airbnb": "12.0.0", | |||
"eslint-config-airbnb-base": "9.0.0", | |||
"eslint-import-resolver-webpack": "0.6.0", | |||
"eslint-plugin-import": "2.0.1", | |||
"eslint-plugin-jsx-a11y": "2.2.3", | |||
"eslint-plugin-react": "6.4.1", | |||
"eslint-plugin-redux-saga": "0.1.5", | |||
"eventsource-polyfill": "0.9.6", | |||
"expect": "1.20.2", | |||
"expect-jsx": "2.6.0", | |||
"exports-loader": "0.6.3", | |||
"file-loader": "0.9.0", | |||
"html-loader": "0.4.4", | |||
"html-webpack-plugin": "2.24.0", | |||
"image-webpack-loader": "2.0.0", | |||
"imports-loader": "0.6.5", | |||
"json-loader": "0.5.4", | |||
"karma": "1.3.0", | |||
"karma-chrome-launcher": "2.0.0", | |||
"karma-coverage": "1.1.1", | |||
"karma-firefox-launcher": "1.0.0", | |||
"karma-ie-launcher": "1.0.0", | |||
"karma-mocha": "1.2.0", | |||
"karma-mocha-reporter": "2.2.0", | |||
"karma-safari-launcher": "1.0.0", | |||
"karma-sourcemap-loader": "0.3.7", | |||
"karma-webpack": "1.8.0", | |||
"lint-staged": "3.2.0", | |||
"mocha": "3.1.2", | |||
"ngrok": "2.2.3", | |||
"null-loader": "0.1.1", | |||
"offline-plugin": "3.4.2", | |||
"plop": "1.5.0", | |||
"pre-commit": "1.1.3", | |||
"psi": "2.0.4", | |||
"react-addons-test-utils": "15.3.2", | |||
"rimraf": "2.5.4", | |||
"shelljs": "0.7.5", | |||
"sinon": "2.0.0-pre", | |||
"style-loader": "0.13.1", | |||
"url-loader": "0.5.7", | |||
"webpack": "2.1.0-beta.25", | |||
"webpack-dev-middleware": "1.8.4", | |||
"webpack-hot-middleware": "2.13.1" | |||
} | |||
} |
server/index.js
0 → 100644
server/logger.js
0 → 100644
server/middlewares/frontendMiddleware.js
0 → 100644
src/.htaccess
0 → 100644
src/.nginx.conf
0 → 100644
src/app.js
0 → 100644
src/containers/App/constants.js
0 → 100644
src/containers/App/index.js
0 → 100644
src/containers/App/selectors.js
0 → 100644
src/containers/App/tests/selectors.test.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/containers/HomePage/index.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/containers/HomePage/messages.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/containers/LanguageProvider/actions.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/containers/LanguageProvider/constants.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/containers/LanguageProvider/index.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/containers/LanguageProvider/reducer.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/containers/LanguageProvider/selectors.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/containers/NotFoundPage/index.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/containers/NotFoundPage/messages.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/favicon.ico
0 → 100644
This diff is collapsed.
Click to expand it.
src/global-styles.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/i18n.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/index.html
0 → 100644
This diff is collapsed.
Click to expand it.
src/manifest.json
0 → 100644
This diff is collapsed.
Click to expand it.
src/reducers.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/routes.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/store.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/tests/store.test.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/translations/en.json
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/asyncInjectors.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/tests/asyncInjectors.test.js
0 → 100644
This diff is collapsed.
Click to expand it.
yarn.lock
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
Please
register
or
sign in
to comment