2019-09-09 17:00:25 +01:00
|
|
|
{
|
|
|
|
"name": "storj-storagenode",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"serve": "vue-cli-service serve",
|
2019-10-28 13:19:57 +00:00
|
|
|
"lint": "vue-cli-service lint && stylelint '**/*.{vue,scss}' --fix",
|
2019-09-09 17:00:25 +01:00
|
|
|
"build": "vue-cli-service build",
|
2020-04-16 15:18:35 +01:00
|
|
|
"debug": "vue-cli-service build --mode development",
|
|
|
|
"test": "vue-cli-service test:unit"
|
2019-09-09 17:00:25 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-02-03 17:31:55 +00:00
|
|
|
"chart.js": "2.9.3",
|
|
|
|
"vue": "2.6.11",
|
|
|
|
"vue-chartjs": "3.5.0",
|
|
|
|
"vue-class-component": "7.2.2",
|
2020-04-16 15:18:35 +01:00
|
|
|
"vue-jest": "3.0.5",
|
2020-07-10 18:02:28 +01:00
|
|
|
"vue-clipboard2": "0.3.1",
|
2020-02-03 17:31:55 +00:00
|
|
|
"vue-property-decorator": "8.3.0",
|
|
|
|
"vue-router": "3.1.5",
|
|
|
|
"vuex": "3.1.2"
|
2019-09-09 17:00:25 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-02-03 17:31:55 +00:00
|
|
|
"@babel/core": "7.8.4",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "7.8.3",
|
2020-04-29 02:08:21 +01:00
|
|
|
"@types/segment-analytics": "0.0.32",
|
2020-04-16 15:18:35 +01:00
|
|
|
"@vue/cli-plugin-babel": "4.1.1",
|
|
|
|
"@vue/cli-plugin-typescript": "4.1.1",
|
|
|
|
"@vue/cli-plugin-unit-jest": "4.1.1",
|
|
|
|
"@vue/cli-service": "4.1.1",
|
|
|
|
"@vue/test-utils": "1.0.0-beta.30",
|
2019-09-09 17:00:25 +01:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2020-04-16 15:18:35 +01:00
|
|
|
"compression-webpack-plugin": "3.0.1",
|
|
|
|
"core-js": "3.6.5",
|
|
|
|
"jest-fetch-mock": "3.0.0",
|
2020-05-07 20:08:57 +01:00
|
|
|
"node-sass": "4.14.1",
|
2020-04-16 15:18:35 +01:00
|
|
|
"sass-loader": "8.0.0",
|
|
|
|
"sinon": "7.5.0",
|
2020-05-07 20:08:57 +01:00
|
|
|
"stylelint": "13.3.3",
|
2020-04-16 15:18:35 +01:00
|
|
|
"stylelint-config-standard": "19.0.0",
|
|
|
|
"stylelint-scss": "3.13.0",
|
|
|
|
"stylelint-webpack-plugin": "1.2.1",
|
2020-05-07 20:08:57 +01:00
|
|
|
"ts-jest": "25.5.0",
|
2020-04-16 15:18:35 +01:00
|
|
|
"tslint": "5.20.1",
|
2020-02-03 17:31:55 +00:00
|
|
|
"tslint-consistent-codestyle": "1.16.0",
|
2019-09-09 17:00:25 +01:00
|
|
|
"tslint-loader": "3.5.4",
|
2020-04-16 15:18:35 +01:00
|
|
|
"typescript": "3.7.4",
|
2020-02-03 17:31:55 +00:00
|
|
|
"vue-svg-loader": "0.15.0",
|
|
|
|
"vue-template-compiler": "2.6.11",
|
2019-09-09 17:00:25 +01:00
|
|
|
"vue-tslint": "0.3.2",
|
|
|
|
"vue-tslint-loader": "3.5.6",
|
2020-02-03 17:31:55 +00:00
|
|
|
"webpack": "4.41.5"
|
2019-09-09 17:00:25 +01:00
|
|
|
},
|
|
|
|
"postcss": {
|
|
|
|
"plugins": {
|
|
|
|
"autoprefixer": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"> 1%",
|
|
|
|
"last 2 versions",
|
|
|
|
"not ie <= 8"
|
2019-10-28 13:19:57 +00:00
|
|
|
],
|
|
|
|
"stylelint": {
|
|
|
|
"plugins": [
|
|
|
|
"stylelint-scss"
|
|
|
|
],
|
|
|
|
"extends": "stylelint-config-standard",
|
|
|
|
"rules": {
|
|
|
|
"indentation": 4,
|
|
|
|
"string-quotes": "single",
|
|
|
|
"no-duplicate-selectors": true,
|
|
|
|
"selector-max-attribute": 1,
|
|
|
|
"selector-combinator-space-after": "always",
|
|
|
|
"selector-attribute-operator-space-before": "never",
|
|
|
|
"selector-attribute-operator-space-after": "never",
|
|
|
|
"selector-attribute-brackets-space-inside": "never",
|
|
|
|
"declaration-block-trailing-semicolon": "always",
|
|
|
|
"declaration-colon-space-before": "never",
|
|
|
|
"declaration-colon-space-after": "always",
|
|
|
|
"number-leading-zero": "always",
|
|
|
|
"function-url-quotes": "always",
|
|
|
|
"font-family-name-quotes": "always-unless-keyword",
|
|
|
|
"comment-whitespace-inside": "always",
|
|
|
|
"comment-empty-line-before": "always",
|
|
|
|
"rule-empty-line-before": "always-multi-line",
|
|
|
|
"selector-pseudo-element-colon-notation": "single",
|
|
|
|
"selector-pseudo-class-parentheses-space-inside": "never",
|
|
|
|
"selector-max-type": 1,
|
|
|
|
"font-family-no-missing-generic-family-keyword": true,
|
2020-02-18 17:41:01 +00:00
|
|
|
"at-rule-no-unknown": null,
|
|
|
|
"scss/at-rule-no-unknown": true,
|
2019-10-28 13:19:57 +00:00
|
|
|
"media-feature-range-operator-space-before": "always",
|
|
|
|
"media-feature-range-operator-space-after": "always",
|
|
|
|
"media-feature-parentheses-space-inside": "never",
|
|
|
|
"media-feature-colon-space-before": "never",
|
|
|
|
"media-feature-colon-space-after": "always"
|
|
|
|
}
|
2020-04-16 15:18:35 +01:00
|
|
|
},
|
|
|
|
"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))"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"^@/(.*)$": "<rootDir>/src/$1"
|
|
|
|
},
|
|
|
|
"snapshotSerializers": [
|
|
|
|
"jest-serializer-vue"
|
|
|
|
],
|
|
|
|
"testMatch": [
|
|
|
|
"**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"
|
|
|
|
],
|
|
|
|
"testURL": "http://localhost/"
|
2019-10-28 13:19:57 +00:00
|
|
|
}
|
2019-09-09 17:00:25 +01:00
|
|
|
}
|