-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
147 lines (147 loc) · 4.04 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
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "freestyler",
"version": "3.0.3",
"description": "5th generation React styling library",
"main": "lib/index.js",
"unpkg": "dist/freestyler.umd.min.js",
"repository": {
"type": "git",
"url": "https://github.com/streamich/freestyler.git"
},
"scripts": {
"start": "npm run storybook",
"clean": "rimraf modules lib dist && npm run docs:clean && npm run test:visual:clean",
"build": "npm run clean && npm run build:lib && npm run build:cjs && npm run build:umd",
"build:modules": "gulp build-modules --gulpfile build/gulpfile.js",
"build:lib": "gulp build-ts --gulpfile build/gulpfile.js",
"build:cjs": "webpack -p --config build/webpack.config.cjs.js",
"build:umd": "webpack -p --config build/webpack.config.umd.js",
"test": "npm run test:server && jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:server": "NODE_ENV=production mocha -r ts-node/register src/**/*.test-server.ts*",
"test:visual": "npm run storybook",
"test:visual:build": "build-storybook",
"test:visual:clean": "rimraf storybook-static",
"docs:clean": "rimraf docs/_book",
"docs:serve": "npm run docs:clean && gitbook install ./docs && gitbook serve ./docs",
"docs:build": "npm run docs:clean && gitbook install ./docs && gitbook build ./docs",
"docs:publish": "npm run test:visual:build && npm run docs:build && ./build/publish-docs.sh",
"demo": "webpack-dev-server --config demo/webpack.config.js",
"prettier": "prettier --write '**/*.ts'",
"precommit": "lint-staged",
"storybook": "start-storybook -p 6006",
"semantic-release": "semantic-release"
},
"lint-staged": {
"**/*.ts": [
"prettier --write",
"git add"
]
},
"peerDependencies": {
"react": "*",
"react-dom": "*"
},
"dependencies": {
"fast-af": "^0.3.0",
"tslib": "^1.9.0"
},
"devDependencies": {
"@types/react": "18.3.12",
"@types/enzyme": "3.10.18",
"@types/enzyme-to-json": "1.5.7",
"@types/jest": "29.5.14",
"@types/node": "22.10.1",
"@types/prop-types": "15.7.13",
"enzyme": "3.11.0",
"enzyme-to-json": "3.6.2",
"enzyme-adapter-react-16": "1.15.8",
"gulp": "5.0.0",
"gulp-typescript": "5.0.1",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-tap-reporter": "1.9.0",
"lerna": "8.1.9",
"lint-staged": "15.2.10",
"prettier": "3.4.1",
"prop-types": "15.8.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-test-renderer": "18.3.1",
"rimraf": "6.0.1",
"source-map-support": "0.5.21",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.7.2",
"tslib": "1.14.1",
"ts-loader": "9.5.1",
"webpack-dev-server": "5.1.0",
"webpack": "5.96.1",
"yarn": "1.22.22",
"chai": "4.1.2",
"@storybook/react": "8.4.5",
"@storybook/addon-actions": "8.4.5",
"@storybook/addon-links": "8.4.5",
"mol-conventional-changelog": "2.0.0",
"semantic-release": "24.2.0",
"gitbook-cli": "2.3.2",
"libreact": "2.13.3",
"mocha": "10.8.2",
"chai": "5.1.2"
},
"config": {
"commitizen": {
"path": "./node_modules/mol-conventional-changelog"
}
},
"jest": {
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"transformIgnorePatterns": [],
"testRegex": ".*/__tests__/.*\\.(test|spec)\\.(jsx?|tsx?)$",
"setupFiles": [
"./src/__tests__/setup.js"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"reporters": [
"jest-tap-reporter"
]
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": false,
"jsxBracketSameLine": false
},
"keywords": [
"freestyler",
"css",
"style",
"styles",
"react",
"js",
"in-js",
"css-in-js",
"styled",
"decorator",
"component",
"styled-components",
"jsxstyle",
"jsx",
"hoc",
"rule",
"stylesheet"
]
}