-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
79 lines (79 loc) · 2.89 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
{
"name": "@stream-io/stream-chat-css",
"version": "5.4.0",
"main": "dist/css/index.css",
"description": "Bundled CSS for Stream Chat web SDKs",
"repository": "[email protected]:GetStream/stream-chat-css.git",
"author": "GetStream",
"license": "MIT",
"private": false,
"style": "dist/css/index.css",
"scripts": {
"prepublishOnly": "yarn generate-docs",
"build": "rm -rf dist/v2 && mkdir -p dist/v2/scss && yarn copy && yarn copy-assets && yarn compile-to-css && yarn copy-vendor-styles",
"generate-docs": "ts-node scripts/generate-docs.ts",
"replace-docs": "ts-node scripts/replacer.ts",
"copy": "cp -R src/v2/styles/* dist/v2/scss",
"compile-to-css": "sass src/v2/styles/index.scss dist/v2/css/index.css --style=compressed --no-source-map && sass src/v2/styles/index.layout.scss dist/v2/css/index.layout.css --style=compressed --no-source-map && sass src/vendor/emoji-mart.scss dist/v2/css/emoji-mart.css --style=compressed --no-source-map && sass src/v2/styles/_emoji-replacement.scss dist/v2/css/emoji-replacement.css --style=compressed --no-source-map",
"copy-assets": "echo '\u001b[34mℹ\u001b[0m Copying assets to distributed directory' && cp -R src/assets dist/assets && echo '\u001b[32m✓\u001b[0m Finished copying assets'",
"copy-vendor-styles": "echo '\u001b[34mℹ\u001b[0m Copying vendor scss files to distributed directory' && cp -R src/vendor dist/vendor && echo '\u001b[32m✓\u001b[0m Finished copying vendor styles'",
"lint": "stylelint '**/*.scss' --max-warnings 0",
"build:ci": "yarn && yarn lint && yarn build",
"start": "yarn build && sass --watch src/v2/styles/index.scss dist/v2/css/index.css"
},
"release": {
"branches": [
"main",
{
"name": "rc",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": true
}
],
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
},
"devDependencies": {
"@semantic-release/git": "^10.0.1",
"@tsconfig/recommended": "^1.0.1",
"@types/dedent": "^0.7.0",
"@types/glob": "^7.2.0",
"@types/node": "^18.0.1",
"@types/prettier": "^2.6.3",
"dedent": "^0.7.0",
"glob": "^8.0.3",
"prettier": "^2.7.1",
"sass": "^1.53.0",
"semantic-release": "^18.0.1",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-sass-guidelines": "^8.0.0",
"tree-sitter": "^0.20.0",
"tree-sitter-css": "^0.19.0",
"ts-node": "^10.8.2",
"typescript": "^4.7.4"
},
"files": [
"dist",
"docs",
"package.json",
"README.md"
]
}