-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
154 lines (154 loc) · 5.58 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
148
149
150
151
152
153
154
{
"name": "shinkansen-pinion",
"version": "1.1.493",
"description": "Shinkansen Pinion",
"keywords": [
"Shinkansen",
"Pinion",
"Zashiki Karakuri",
"Zashiki",
"Karakuri",
"React"
],
"main": "./src/index.cjs",
"type": "module",
"types": "./src/index.d.mts",
"author": {
"name": "Jonathan Perry for Modern Poacher Limited",
"email": "modernpoacher@modernpoacher.com",
"url": "https://modernpoacher.com"
},
"license": "ISC",
"engines": {
"node": ">=18.12.0"
},
"repository": {
"type": "git",
"url": "git@github.com/modernpoacher/shinkansen-pinion.git"
},
"scripts": {
"build": "cross-env DEBUG=shinkansen-pinion npm run gulp -- build",
"build-storybook": "storybook build",
"build:watch": "cross-env DEBUG=shinkansen-pinion npm run gulp -- build:watch",
"gulp": "gulp --color",
"lint": "eslint . .storybook --ext .mjs,.cjs,.jsx,.mts,.cts",
"lint:fix": "npm run lint -- --fix",
"nvm": "bash nvm.sh",
"pregulp": "npm run nvm",
"prelint": "npm run nvm",
"prepare": "husky",
"prepublishOnly": "cross-env NODE_ENV=production npm run build",
"prestorybook": "npm run build && npm run transform",
"pretest": "npm run nvm",
"storybook": "storybook dev -p 6009",
"test": "npm run test:mocha && npm run test:jest",
"test:jest": "cross-env NODE_ENV=test jest",
"test:mocha": "cross-env NODE_ENV=test mocha test --recursive",
"transform": "cross-env DEBUG=shinkansen-pinion npm run gulp -- transform",
"transform:watch": "cross-env DEBUG=shinkansen-pinion npm run gulp -- transform:watch"
},
"dependencies": {
"debug": "^4.3.7"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/register": "^7.25.9",
"@modernpoacher/design-system": "1.1.13",
"@sequencemedia/gulp": "^1.1.271",
"@sequencemedia/gulp-clean-css": "^1.0.181",
"@sequencemedia/gulp-css-purge": "^1.1.199",
"@sequencemedia/gulp-debug": "^1.0.192",
"@sequencemedia/gulp-postcss": "^1.0.204",
"@sequencemedia/gulp-sass": "^1.0.187",
"@sequencemedia/gulp-sourcemaps": "^1.0.195",
"@sequencemedia/sinon-chai": "^0.0.83",
"@storybook/addon-actions": "7.6.20",
"@storybook/addon-essentials": "7.6.20",
"@storybook/addon-links": "7.6.20",
"@storybook/react": "7.6.20",
"@storybook/react-webpack5": "7.6.20",
"@types/react": "^18.3.12",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"autoprefixer": "^10.4.20",
"babel-plugin-module-resolver": "^5.0.2",
"chai": "^5.1.2",
"core-js": "^3.39.0",
"cross-env": "^7.0.3",
"cssnano": "^7.0.6",
"del": "^8.0.0",
"eslint": "8.57.1",
"eslint-config-love": "47.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-import-resolver-babel-module": "^5.3.2",
"eslint-plugin-react": "^7.37.2",
"glob-all": "^3.3.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"mocha": "^10.8.2",
"postcss": "^8.4.49",
"postcss-easy-import": "^4.0.0",
"postcss-map": "^0.11.0",
"postcss-normalize": "^13.0.1",
"postcss-scss": "^4.0.9",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "^6.28.0",
"react-router-dom": "^6.28.0",
"react-test-renderer": "^18.3.1",
"regenerator-runtime": "^0.14.1",
"sass": "^1.81.0",
"shinkansen-cogs": "1.7.257",
"shinkansen-rails": "1.0.249",
"shinkansen-signals": "1.1.181",
"shinkansen-sprockets": "1.1.415",
"sinon": "^19.0.2",
"storybook": "7.6.20",
"vinyl-paths": "^5.0.0"
},
"imports": {
"#build/gulp/*": "./build/gulp/*.mjs",
"#build/gulp/build": "./build/gulp/build/index.mjs",
"#build/gulp/build/*": "./build/gulp/build/*.mjs",
"#build/gulp/transform": "./build/gulp/transform/index.mjs",
"#build/paths": "./build/paths.mjs",
"#stories": "./stories"
},
"exports": {
".": {
"require": "./src/index.cjs",
"import": "./src/index.mjs"
},
"./common": "./src/common/index.mjs",
"./components": "./src/components/index.mjs",
"./components/cogs": "./src/components/cogs/index.mjs",
"./components/cogs/radio": "./src/components/cogs/radio/index.cjs",
"./components/cogs/select": "./src/components/cogs/select/index.cjs",
"./components/cogs/text": "./src/components/cogs/text/index.cjs",
"./components/sprockets": "./src/components/sprockets/index.mjs",
"./components/sprockets/check-answers": {
"require": "./src/components/sprockets/check-answers/index.cjs",
"import": "./src/components/sprockets/check-answers/index.mjs"
},
"./components/sprockets/error-summary": {
"require": "./src/components/sprockets/error-summary/index.cjs",
"import": "./src/components/sprockets/error-summary/index.mjs"
},
"./components/sprockets/fieldset": {
"require": "./src/components/sprockets/fieldset/index.cjs",
"import": "./src/components/sprockets/fieldset/index.mjs"
},
"./pinion": "./src/pinion/index.cjs",
"./transformers": "./src/transformers/index.mjs",
"./transformers/check-answers": "./src/transformers/check-answers/index.mjs",
"./transformers/check-answers/*": "./src/transformers/check-answers/*.mjs",
"./transformers/common": "./src/transformers/common/index.mjs",
"./transformers/common/*": "./src/transformers/common/*.mjs",
"./transformers/error-message": "./src/transformers/error-message/index.mjs",
"./transformers/error-message/*": "./src/transformers/error-message/*.mjs"
}
}