{ "name": "CommitChange", "private": "true", "repository": { "type": "git", "url": "https://github.com/CommitChange/commitchange.com" }, "scripts": { "watch": "npm run export-button-config && npm run export-i18n && npm run generate-api-js && npx webpack --watch", "build": "npm run export-button-config && npm run export-i18n && npm run generate-api-js && NODE_ENV=production npx webpack -p", "build-all": "script/compile-assets.sh && npm run build", "test": "rake spec && npm run build && npx jest", "test-browser": "zuul --local --ui mocha-qunit spec/js/index.js", "export-button-config": "bundle exec rake settings:generate_json", "export-i18n": "bundle exec rake settings:combine_translations", "generate-openapi": "rake oapi:gen", "get-codegen-cli": "script/download_codegen_cli.sh", "generate-api-js": "npm run get-codegen-cli && npm run generate-openapi && java -jar .bin/swagger-codegen-cli.jar generate -l 'typescript-jquery' -i tmp/openapi.json -o javascripts/api -t lib/swagger-typescript-jquery" }, "devDependencies": { "@types/enzyme": "^3.1.9", "@types/enzyme-to-json": "^1.5.1", "@types/es6-promise": "^3.3.0", "@types/jest": "^22.2.2", "@types/jquery": "^3.3.1", "@types/lodash": "^4.14.106", "@types/react": "^16.1.0", "@types/react-dom": "^16.0.5", "@types/react-intl": "^2.3.7", "@types/react-test-renderer": "^16.0.1", "@types/validator": "^9.4.1", "babel-core": "^6.26.0", "babel-loader": "^7.1.4", "babel-preset-env": "^1.6.1", "babel-preset-es2015": "^6.24.1", "bootstrap": "^3.3.7", "browserify": "13.0.1", "browserify-incremental": "3.1.1", "clean-webpack-plugin": "^0.1.19", "compression-webpack-plugin": "^1.1.11", "copy-webpack-plugin": "^4.5.1", "css-loader": "^0.28.10", "cssnano": "3.10.0", "dotize": "^0.2.0", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", "enzyme-to-json": "^3.3.3", "exports-loader": "^0.7.0", "expose-loader": "^0.7.5", "extract-text-webpack-plugin": "^3.0.2", "file-loader": "^1.1.11", "imports-loader": "^0.8.0", "jest": "^22.4.3", "jest-enzyme": "^6.0.0", "less": "^3.0.4", "less-loader": "^4.1.0", "lodash": "^4.17.5", "mobx": "^4.2.0", "mobx-react": "^5.0.0", "mobx-react-devtools": "^5.0.1", "mobx-react-form": "^1.34.0", "no-scroll": "^2.1.0", "phantomjs-prebuilt": "2.1.12", "postcss-cssnext": "^2.9.0", "postcss-import": "^9.1.0", "postcss-loader": "^2.1.1", "react": "^16.2.0", "react-aria-tabpanel": "^4.3.0", "react-autocomplete": "^1.8.1", "react-dom": "^16.3.1", "react-intl": "^2.4.0", "react-test-renderer": "^16.3.1", "react-text-mask": "^5.3.0", "string-replace-loader": "^2.1.1", "string-replace-webpack-plugin": "^0.1.3", "style-loader": "^0.21.0", "text-mask": "0.0.2", "ts-jest": "^22.4.2", "ts-loader": "^3", "typescript": "^2.8.1", "url-loader": "^1.0.1", "validator": "^9.4.1", "webpack": "^3", "webpack-merge": "^4.1.2", "webpack-sweet-entry": "^1.1.4", "zuul": "3.11.0" }, "dependencies": { "@types/jsdom": "^11.0.4", "@types/sinon": "^4.3.3", "attr-binder": "0.3.1", "aws-sdk": "2.2.39", "bootstrap-loader": "^2.2.0", "bootstrap-sass": "^3.3.7", "chart.js": "2.1.4", "color": "0.11.3", "colors": "1.1.2", "commons.css": "0.1.8", "cookie": "0.3.1", "cropperjs": "1.0.0-beta.2", "data-tooltip": "0.0.1", "dragula": "3.7.1", "es6-promise": "2.1.1", "ff-core": "0.0.2", "ff-dashboard": "0.0.4", "ff-file-uploader": "0.0.6", "flimflam": "0.7.5", "flimflam-docs-scaffold": "0.0.8", "flimflam-render": "0.1.4", "flyd": "0.2.2", "flyd-ajax": "0.2.0", "flyd-url": "0.0.1", "flyd-zip": "0.0.1", "form-serialize": "0.7.0", "format-number": "2.0.2", "i18n-js": "^3.0.3", "iban": "0.0.8", "imagesloaded": "4.1.1", "immutable": "3.7.5", "jquery": "1.11.1", "jquery.cookie": "1.4.1", "jsdom": "^11.10.0", "marked": "0.3.6", "moment": "2.9.0", "moment-range": "2.2.0", "moment-timezone": "0.4.1", "node-sass": "^4.9.0", "parsleyjs": "2.0.7", "percent": "1.1.1", "phone-formatter": "0.0.2", "pikaday": "1.3.2", "pikaday-time": "1.5.1", "query-string": "4.2.2", "quill": "^1.3.6", "ramda": "^0.21.0", "resolve-url-loader": "^2.3.0", "sass-loader": "^7.0.1", "shuffle-array": "1.0.1", "sinon": "^5.0.7", "snabbdom": "0.3.0", "snake-case": "2.1.0", "superagent": "1.1.0", "uglifyjs-webpack-plugin": "^0.4.6", "uuid": "2.0.2", "vdom-thunk": "3.0.0", "view-script": "0.3.6", "virtual-dom": "2.1.1", "vvvview": "0.4.3" }, "jest": { "testEnvironment": "enzyme", "testEnvironmentOptions": { "enzymeAdapter": "react16" }, "globals": { "ts-jest": { "useBabelrc": false } }, "setupFiles": [ "/setupTests.js" ], "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "snapshotSerializers": [ "enzyme-to-json/serializer" ] } }