Skip to content
Snippets Groups Projects
package.json 5.25 KiB
Newer Older
	"version": "2.5.0-rc12",
	"description": "IQRF Gateway web application",
	"keywords": [
		"iqrf",
		"iqrf-gateway",
		"iqrf-gateway-webapp"
	],
	"contributors": [
		{
			"name": "Roman Ondráček",
			"email": "roman.ondracek@iqrf.com"
		},
		{
			"name": "Karel Hanák",
			"email": "karel.hanak@iqrf.com"
		}
	],
	"scripts": {
		"serve": "vue-cli-service serve",
		"build": "vue-cli-service build",
		"coverage:unit": "jest --coverage",
		"coverage:unit-ci": "jest --ci --coverage --reporters=default --reporters=jest-junit",
		"lint": "vue-cli-service lint src",
		"lint:css": "stylelint \"src/**/*.{css,scss,sass,vue}\"",
		"lint:i18n": "vue-i18n-extract report --vueFiles src/**/*.{vue,ts} --languageFiles src/locales/*.json",
		"newman": "newman run tests/iqrf-gateway-webapp.postman_collection.json",
		"test": "npm run test:unit",
		"test:unit": "jest",
		"e2e": "cypress run",
		"cypress": "cypress open"
	"browserslist": [
		"> 0.5%",
		"not dead",
		"not ie <= 11",
		"not op_mini all"
	],
			"stylelint-config-standard-scss",
			"stylelint-config-standard-vue"
		],
			"indentation": "tab",
			"selector-class-pattern": "^[a-z][a-z0-9_-]+$",
			"string-quotes": "single"
	},
	"jest": {
		"moduleFileExtensions": [
			"js",
			"ts",
			"json",
			"vue"
		],
		"moduleNameMapper": {
			"^@/(.*)$": "<rootDir>/src/$1"
		},
		"transform": {
			"^.+\\.tsx?$": [
				"ts-jest",
				{
					"tsconfig": "tsconfig.json"
				}
			],
			".*\\.(vue)$": "@vue/vue2-jest"
		},
		"testPathIgnorePatterns": [
			"<rootDir>/cypress/",
			"<rootDir>/node_modules/",
			"<rootDir>/vendor/"
		]