-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
126 lines (126 loc) · 3.86 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
{
"name": "@mapbox/assembly",
"version": "1.8.4",
"description": "A CSS framework",
"main": "index.js",
"files": [
"dist",
"scripts",
"src"
],
"scripts": {
"precommit": "lint-staged",
"format": "prettier --write \"**/*.js\"",
"deploy": "npm run build && node scripts/deploy",
"clean-svgs": "node scripts/clean-svgs",
"check-size": "node scripts/check-size",
"generate-css": "node scripts/build-color-variants.js && node scripts/build-layout-scales.js",
"generate-site-data": "rm -rf _tmp_assembly && npm run build-icon-json && npm run build-navigation-json",
"build-icon-json": "node scripts/build-icon-json.js",
"build-navigation-json": "node scripts/build-navigation-json.js",
"build:site": "npm run generate-site-data && batfish build",
"build:css": "npm run generate-css && node scripts/build-css",
"build:js": "node scripts/build-js",
"build:assembly": "rm -rf dist && npm-run-all --parallel build:css build:js",
"build": "npm run build:assembly && npm run build:site",
"lint:css": "stylelint src/*.css",
"lint:js": "eslint .",
"lint": "npm run lint:css && npm run lint:js",
"serve": "batfish serve-static",
"start": "concurrently -k -p \"{name}\" -n \"Batfish ,Assembly\" \"npm run build:css && npm run build:js && npm run generate-site-data && batfish start\" \"node scripts/watch-assembly-assets.js\"",
"test:jest": "jest",
"jest-watch": "jest --watch",
"test:svgs": "tape test/test-icons.tape.js | tap-spec",
"test": "npm run lint && npm run test:svgs && npm run test:jest && npm run build:assembly"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mapbox/assembly.git"
},
"author": "Mapbox",
"license": "ISC",
"bugs": {
"url": "https://github.com/mapbox/assembly/issues"
},
"homepage": "https://github.com/mapbox/assembly#readme",
"dependencies": {
"autoprefixer": "^10.2.5",
"concat-with-sourcemaps": "^1.1.0",
"cp-file": "^6.0.0",
"csso": "^4.2.0",
"globby": "^10.0.0",
"indent-string": "^3.1.0",
"mkdirp": "^0.5.1",
"p-queue": "^2.4.2",
"pify": "^3.0.0",
"postcss": "^8.4.31",
"postcss-custom-media": "^8",
"postcss-custom-properties": "^12.1.8",
"postcss-reporter": "^7.0.5",
"strip-indent": "^2.0.0",
"svgo": "^2.8.0",
"svgstore": "^3.0.1",
"uglify-js": "^3.4.3"
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.15",
"@babel/preset-env": "^7.14.2",
"@babel/preset-react": "^7.13.13",
"@mapbox/batfish": "^2.3.0",
"@mapbox/eslint-config-mapbox": "^3.0.0",
"aws-sdk": "^2.270.1",
"clipboard": "^2.0.1",
"concurrently": "^3.6.0",
"del": "^3.0.0",
"documentation-css": "^0.3.0",
"eslint": "^8",
"eslint-config-prettier": "^9",
"eslint-plugin-import": "^2.23.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6",
"eslint-plugin-react": "^7.23.2",
"execall": "^1.0.0",
"gzip-size": "^5.0.0",
"highlight.js": "^11.5.1",
"husky": "^8",
"jest": "^29",
"lint-staged": "15",
"lodash": "^4.17.21",
"mime": "^2.3.1",
"nodemon": "^3.0.1",
"npm-run-all": "^4.1.3",
"postcss-discard-comments": "^6.0.0",
"postcss-jit-props": "^1.0.14",
"prettier": "1.13.7",
"pretty-bytes": "^5.1.0",
"prop-types": "^15.7.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-helmet": "^6.1.0",
"react-lowlight": "^3.0.0",
"remark": "^14.0.2",
"remark-react": "^9.0.1",
"stylelint": "^15",
"tap-spec": "^2.2.2",
"tape": "^4.9.1",
"xml2js": "^0.6.2"
},
"jest": {
"clearMocks": true,
"testEnvironment": "node",
"roots": [
"test"
],
"testRegex": ".*\\.jest\\.js$"
},
"prettier": {
"singleQuote": true
},
"lint-staged": {
"*.js": [
"eslint",
"prettier --write",
"git add"
]
}
}