This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
135 lines (135 loc) · 5.23 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "yamui",
"productName": "YamUI",
"description": "UI component framework for Yammer.com",
"version": "10.3.0",
"style": "dist/yamui-base.css",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/YamUI.git"
},
"dependencies": {
"normalize.css": "6.0.0",
"office-ui-fabric-react": "6.0.0-beta4",
"react-intersection-observer": "3.0.2"
},
"devDependencies": {
"@types/enzyme": "3.1.9",
"@types/escape-string-regexp": "1.0.0",
"@types/jest": "22.2.0",
"@types/node": "7.0.12",
"@types/prop-types": "15.5.1",
"@types/react": "16.3.14",
"@types/react-dom": "16.0.5",
"@types/react-test-renderer": "16.0.1",
"@uifabric/jest-serializer-merge-styles": "5.2.0",
"css-loader": "0.27.3",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"enzyme-context-patch": "0.0.7",
"enzyme-to-json": "3.3.3",
"escape-string-regexp": "1.0.5",
"eslint": "4.19.1",
"eslint-config-airbnb": "16.1.0",
"eslint-plugin-header": "1.2.0",
"eslint-plugin-import": "2.11.0",
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-react": "7.7.0",
"file-loader": "0.11.1",
"fork-ts-checker-webpack-plugin": "^0.4.1",
"generator-component": "./config/yo/generator-component",
"glob": "7.1.2",
"htmltojsx": "0.3.0",
"husky": "0.14.3",
"identity-obj-proxy": "3.0.0",
"intersection-observer": "0.5.0",
"jest": "23.0.1",
"jsdom": "11.5.1",
"lint-staged": "7.1.0",
"lodash": "4.17.11",
"markdownlint-cli": "0.3.1",
"npm-run-all": "4.0.2",
"postcss": "5.2.16",
"postcss-cli": "3.2.0",
"postcss-import": "9.1.0",
"postcss-loader": "1.3.3",
"postcss-scss": "0.4.1",
"precss": "1.4.0",
"prettier": "1.12.1",
"raw-loader": "0.5.1",
"react": "16.3.2",
"react-docgen": "2.19.0",
"react-docgen-displayname-handler": "1.0.1",
"react-docgen-typescript": "1.0.2",
"react-dom": "16.3.2",
"react-styleguidist": "7.0.14",
"react-styleguidist-visual": "0.6.3",
"react-test-renderer": "16.3.2",
"rimraf": "2.6.1",
"style-loader": "0.16.1",
"svgo": "1.0.3",
"ts-jest": "22.4.2",
"ts-loader": "3.1.0",
"tslint": "5.9.1",
"tslint-microsoft-contrib": "5.0.3",
"tslint-react": "3.5.1",
"typescript": "2.8.3",
"webpack": "3.8.1",
"yo": "2.0.0"
},
"peerDependencies": {
"react": "^16.3.0",
"react-dom": "^16.3.0",
"typescript": "^2.5.0"
},
"scripts": {
"clean:build": "rimraf build/*",
"clean:dist": "rimraf dist/* dist-commonjs/*",
"clean:docs": "rimraf build/docs/*",
"clean:icons": "rimraf build/icons/* src/components/Icon/icons/*.tsx",
"clean:illustrations": "rimraf build/illustrations/* src/components/Illustration/illustrations/*.tsx",
"clean:svg": "run-p clean clean:icons clean:illustrations",
"clean": "run-p clean:build clean:dist",
"build:es2015:css:global": "postcss src/css/index.css --output dist/yamui-base.css",
"build:es2015:css:components": "postcss \"src/components/**/*.css\" --dir \"dist/components\" --base \"src/components\"",
"build:es2015:ts:components": "tsc --project tsconfig.json",
"build:commonjs:css:global": "postcss src/css/index.css --output dist-commonjs/yamui-base.css",
"build:commonjs:css:components": "postcss \"src/components/**/*.css\" --dir \"dist-commonjs/components\" --base \"src/components\"",
"build:commonjs:ts:components": "tsc --project tsconfig.commonjs.json",
"build": "run-s clean build:**",
"test:eslint:root": "eslint \"./*.+(js|jsx)\"",
"test:eslint:sources": "eslint \"+(src|config)/**/*.+(js|jsx)\"",
"test:eslint": "run-p test:eslint:*",
"test:tslint": "tslint --project tsconfig.json",
"test:mdlint": "markdownlint README.md assets/README.md",
"test:unit": "jest --config config/jest/config.json",
"test:unit:report": "open build/jest/coverage/index.html",
"test:visual:build": "styleguidist build --config config/styleguide/config.visualdiff.js",
"test:visual:run": "styleguidist-visual test --config config/styleguide-visual/config.js",
"test:visual:approve": "styleguidist-visual approve --config config/styleguide-visual/config.js",
"test:visual": "run-s clean:build test:visual:build test:visual:run",
"test:visual:component": "run-s clean:build test:visual:build \"test:visual:run -- --filter={1}\" --",
"test:visual:component:run": "run-s \"test:visual:run -- --filter={1}\" --",
"test": "run-s build test:*",
"start": "npm run start:dev",
"watch:jest": "npm run start:test",
"start:dev": "styleguidist server --config config/styleguide/config.js",
"start:test": "jest --config config/jest/config.json --watchAll",
"svg:generate:icons": "node config/svg/generateIcons",
"svg:generate:illustrations": "node config/svg/generateIllustrations",
"svg:generate": "run-p svg:generate:*",
"svg": "run-s clean:svg svg:*",
"docs:build": "styleguidist build --config config/styleguide/config.js",
"docs": "run-s clean:docs docs:*",
"create:component": "yo component",
"precommit": "lint-staged",
"prepublishOnly": "npm run build"
},
"lint-staged": {
"*.{css,js,jsx,ts,tsx}": [
"prettier --write",
"git add -f"
]
}
}