bc6d8c06e3
Stylelint and eslint should be run separately and not part of the build process. Add a flag STORJ_DEBUG_BUNDLE_SIZE to debug compiled bundle size. Reduce the number of chunks, it's far from ideal. Once we reduce the images and browser size, we probably can drop chunking altogether. Change-Id: I5bdf35ceb140e2c47a30df8d319606d05bfb30dd
127 lines
3.7 KiB
JSON
127 lines
3.7 KiB
JSON
{
|
|
"name": "storj-satellite",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"serve": "vue-cli-service serve",
|
|
"lint": "vue-cli-service lint --max-warnings 0 --fix && stylelint . --max-warnings 0 --fix",
|
|
"lint-ci": "vue-cli-service lint --max-warnings 0 --no-fix && stylelint . --max-warnings 0 --no-fix",
|
|
"build": "vue-cli-service build",
|
|
"wasm": "chmod +x ./scripts/build-wasm.sh && ./scripts/build-wasm.sh",
|
|
"wasm-dev": "chmod +x ./scripts/build-wasm-dev.sh && ./scripts/build-wasm-dev.sh",
|
|
"dev": "vue-cli-service build --mode development --watch",
|
|
"test": "vue-cli-service test:unit"
|
|
},
|
|
"dependencies": {
|
|
"apollo-cache-inmemory": "1.6.6",
|
|
"apollo-client": "2.6.10",
|
|
"apollo-link": "1.2.14",
|
|
"apollo-link-context": "1.0.20",
|
|
"apollo-link-error": "1.1.13",
|
|
"apollo-link-http": "1.5.17",
|
|
"aws-sdk": "2.853.0",
|
|
"bip39": "3.0.3",
|
|
"browser": "git+https://github.com/storj/browser#4e5770dfa9883176bbab793138911d92305243ed",
|
|
"graphql": "15.3.0",
|
|
"graphql-tag": "2.11.0",
|
|
"load-script": "1.0.0",
|
|
"pbkdf2": "3.1.1",
|
|
"qrcode": "1.4.4",
|
|
"stripe": "8.96.0",
|
|
"vue": "2.6.12",
|
|
"vue-class-component": "7.2.5",
|
|
"vue-clipboard2": "0.3.1",
|
|
"vue-property-decorator": "9.0.0",
|
|
"vue-recaptcha": "1.3.0",
|
|
"vue-router": "3.4.9",
|
|
"vue2-datepicker": "3.7.0",
|
|
"vuex": "3.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.14.8",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.11.0",
|
|
"@types/node": "13.11.1",
|
|
"@types/pbkdf2": "3.1.0",
|
|
"@types/qrcode": "1.4.1",
|
|
"@types/vue2-datepicker": "3.3.0",
|
|
"@typescript-eslint/eslint-plugin": "4.28.5",
|
|
"@typescript-eslint/parser": "4.28.5",
|
|
"@vue/cli-plugin-babel": "4.5.6",
|
|
"@vue/cli-plugin-eslint": "4.5.13",
|
|
"@vue/cli-plugin-typescript": "4.5.6",
|
|
"@vue/cli-plugin-unit-jest": "4.5.6",
|
|
"@vue/cli-service": "4.5.6",
|
|
"@vue/eslint-config-typescript": "7.0.0",
|
|
"@vue/test-utils": "1.1.0",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-eslint": "10.1.0",
|
|
"compression-webpack-plugin": "6.0.0",
|
|
"eslint": "6.7.2",
|
|
"eslint-plugin-storj": "github:storj/eslint-storj",
|
|
"eslint-plugin-vue": "7.16.0",
|
|
"jest-fetch-mock": "3.0.3",
|
|
"sass": "1.37.0",
|
|
"sass-loader": "10.0.2",
|
|
"sinon": "9.0.3",
|
|
"stylelint": "13.7.1",
|
|
"stylelint-config-standard": "20.0.0",
|
|
"stylelint-scss": "3.18.0",
|
|
"ts-jest": "26.3.0",
|
|
"typescript": "4.0.2",
|
|
"vue-svg-loader": "0.16.0",
|
|
"vue-template-compiler": "2.6.12",
|
|
"webpack-bundle-analyzer": "4.4.2",
|
|
"worker-plugin": "5.0.0"
|
|
},
|
|
"postcss": {
|
|
"plugins": {
|
|
"autoprefixer": {}
|
|
}
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not ie <= 8"
|
|
],
|
|
"jest": {
|
|
"automock": false,
|
|
"setupFiles": [
|
|
"./jestSetup.ts"
|
|
],
|
|
"globals": {
|
|
"ts-jest": {
|
|
"diagnostics": false
|
|
}
|
|
},
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"vue",
|
|
"ts",
|
|
"tsx"
|
|
],
|
|
"collectCoverage": true,
|
|
"transform": {
|
|
"^.+\\.js$": "babel-jest",
|
|
"^.+\\.vue$": "vue-jest",
|
|
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub",
|
|
"^.+\\.tsx?$": "ts-jest",
|
|
"^.+\\.svg$": "<rootDir>/tests/unit/mock/svgTransform.js"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"/node_modules/(?!(apollo-client|apollo-link|vue2-datepicker))"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^@/(.*)$": "<rootDir>/src/$1"
|
|
},
|
|
"snapshotSerializers": [
|
|
"jest-serializer-vue"
|
|
],
|
|
"testMatch": [
|
|
"**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"
|
|
],
|
|
"testURL": "http://localhost/"
|
|
}
|
|
}
|