This repository has been archived by the owner on May 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 3.03 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
{
"name": "@shiftbrainstd/polyrhythm-typography",
"description": "Polyrhythm Typography Module",
"author": "Shiftbrain Standard Design Unit (https://standard.shiftbrain.com/)",
"version": "1.0.2",
"main": "dist/index.js",
"module": "dist/polyrhythm-typography.esm.js",
"unpkg": "dist/polyrhythm-typography.umd.production.min.js",
"typings": "dist/index.d.ts",
"files": [
"_index.scss",
"dist",
"types",
"scss/**/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ShiftbrainStd/polyrhythm-typography.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ShiftbrainStd/polyrhythm-typography/issues"
},
"homepage": "https://github.com/ShiftbrainStd/polyrhythm-typography#readme",
"scripts": {
"prepublishOnly": "run-s lint test build",
"sass:watch": "chokidar '**/*.scss' -c 'npm run sass:build' --initial",
"sass:build": "sass demo/main.scss:demo/main.css demo/main-harmonic.scss:demo/main-harmonic.css",
"sass:lint": "stylelint **/*.scss",
"ts:lint": "eslint src/**/*.ts",
"ts:watch": "tsdx watch --entry demo/index.ts --format umd",
"ts:build": "tsdx build --format cjs,esm,umd --entry src/index.ts",
"serve": "browser-sync start -c ./.config/browser-sync.js",
"start": "run-p sass:watch ts:watch serve",
"build": "run-s sass:build ts:build",
"lint": "run-s sass:lint ts:lint",
"test": "jest"
},
"dependencies": {
"tiny-invariant": "^1.0.6",
"csstype": "^2.6.7"
},
"devDependencies": {
"@shiftbrainstd/harmonic-modular-scale": "^1.0.0",
"@types/jest": "^24.0.23",
"@typescript-eslint/eslint-plugin": "^2.6.0",
"@typescript-eslint/parser": "^2.6.0",
"browser-sync": "^2.26.7",
"chokidar-cli": "^2.1.0",
"emotion": "^10.0.23",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.0.1",
"fast-glob": "^3.1.1",
"husky": "^3.1.0",
"jest": "^24.9.0",
"lint-staged": "^9.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.0",
"sass": "^1.23.7",
"sass-true": "^5.0.0",
"stylelint": "^12.0.0",
"stylelint-config-recommended-scss": "^4.1.0",
"stylelint-scss": "^3.13.0",
"ts-jest": "^24.2.0",
"tsdx": "^0.11.0",
"tslib": "^1.10.0",
"typescript": "^3.6.4"
},
"publishConfig": {
"access": "public"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{css,scss}": [
"stylelint --fix",
"git add"
]
},
"stylelint": {
"extends": "stylelint-config-recommended-scss",
"rules": {
"string-quotes": "double"
}
},
"jest": {
"testEnvironment": "node",
"preset": "ts-jest"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": false,
"overrides": [
{
"files": [
"*.js",
"*.ts",
"*.md"
],
"options": {
"singleQuote": true
}
}
]
}
}