119 строки
3.4 KiB
JSON
119 строки
3.4 KiB
JSON
{
|
|
"name": "@microsoft/fast-dna",
|
|
"description": "An unopinionated system of components, development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.",
|
|
"version": "1.8.0",
|
|
"author": {
|
|
"name": "Microsoft",
|
|
"url": "https://discord.gg/FcSNfg4"
|
|
},
|
|
"license": "MIT",
|
|
"private": true,
|
|
"workspaces": {
|
|
"packages": ["packages/*"],
|
|
"nohoist": ["**/react-syntax-highlighter"]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Microsoft/fast-dna.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Microsoft/fast-dna/issues/new/choose"
|
|
},
|
|
"scripts": {
|
|
"docs:build": "node build/documentation/generate-typedocs.js",
|
|
"docs:build:api": "node build/documentation/generate-typedocs.js",
|
|
"docs:build:dry-run": "node build/documentation/generate-typedocs.js --dry-run",
|
|
"docs:build:readme": "node build/documentation/copy-package-readme.js",
|
|
"docs:build:verbose": "node build/documentation/generate-typedocs.js --verbose",
|
|
"integration-tests:alpha": "node build/testing/sauce-labs/test-browsers.js alpha",
|
|
"integration-tests:beta": "node build/testing/sauce-labs/test-browsers.js beta",
|
|
"integration-tests:release": "node build/testing/sauce-labs/test-browsers.js release",
|
|
"prepare": "lerna run prepare",
|
|
"test": "yarn tslint && yarn unit-tests",
|
|
"tslint": "tslint -c ./tslint.json 'build/**/*.ts'",
|
|
"tslint:fix": "tslint -c ./tslint.json --fix 'build/**/*.ts'",
|
|
"unit-tests": "jest --maxWorkers=4",
|
|
"unit-tests:watch": "jest --watch",
|
|
"watch": "tsc -p ./tsconfig.json -w --preserveWatchOutput"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"jest": {
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"build/helpers/*.ts"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"statements": 100,
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100
|
|
}
|
|
},
|
|
"testURL": "http://localhost",
|
|
"transform": {
|
|
"^.+\\.ts?$": "ts-jest",
|
|
"^.+\\.js?$": "babel-jest"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"!<rootDir>/node_modules/lodash-es",
|
|
"node_modules/jss-*",
|
|
"node_modules/css-vendor"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"packages/",
|
|
"build/helpers/__tests__/*"
|
|
],
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js?|ts?)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"js"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/fast-tslint-rules": "^3.0.0",
|
|
"@types/jest": "^25.2.1",
|
|
"@types/lodash-es": "^4.17.0",
|
|
"@types/node": "^9.4.7",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-jest": "^25.2.6",
|
|
"babel-preset-env": "^1.6.1",
|
|
"chalk": "^2.4.2",
|
|
"docusaurus-init": "^1.11.0",
|
|
"dotenv": "^6.0.0",
|
|
"eyes.selenium": "3.6.2",
|
|
"glob": "^7.1.2",
|
|
"husky": "^1.1.2",
|
|
"jest": "^25.2.7",
|
|
"lerna": "3.18.2",
|
|
"lint-staged": "^10.1.2",
|
|
"markdown-it": "^8.4.1",
|
|
"prettier": "1.14.3",
|
|
"rimraf": "^2.6.2",
|
|
"ts-jest": "^25.3.1",
|
|
"ts-node": "^5.0.1",
|
|
"tslint": "^5.9.1",
|
|
"typedoc": "^0.14.2",
|
|
"typedoc-plugin-markdown": "^2.2.17",
|
|
"typescript": "3.3.3",
|
|
"yargs": "^11.0.0"
|
|
},
|
|
"dependencies": {
|
|
"saucelabs": "^1.5.0",
|
|
"selenium-webdriver": "^3.6.0"
|
|
}
|
|
}
|