-
Notifications
You must be signed in to change notification settings - Fork 10.3k
/
package.json
40 lines (40 loc) · 1.76 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
{
"name": "gatsby-design-tokens",
"version": "2.7.0",
"description": "Gatsby Design Tokens",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"source": "src/index.js",
"sideEffects": "false",
"author": "Florian Kissling <flo@gatsbyjs.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git",
"directory": "packages/gatsby-design-tokens"
},
"files": [
"dist/"
],
"scripts": {
"build": "npm run build:tokens && npm run build:theme && npm run build:theme-gatsbyjs-org",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "microbundle watch src/index.js src/theme.js src/theme-gatsbyjs-org.js --sourcemap=false -f es,cjs",
"build:tokens": "(microbundle build --sourcemap=false -f es,cjs && agadoo dist/index.esm.js) || node -e \"console.log('\\nMicrobundle failed, make sure you\\'re using node version 10.16 or higher\\n');process.exit(1)\"",
"build:theme": "(microbundle build src/theme.js -o dist/theme.js --sourcemap=false -f es,cjs) || node -e \"console.log('\\nMicrobundle failed, make sure you\\'re using node version 10.16 or higher\\n');process.exit(1)\"",
"build:theme-gatsbyjs-org": "(microbundle build src/theme-gatsbyjs-org.js -o dist/theme-gatsbyjs-org.js --sourcemap=false -f es,cjs) || node -e \"console.log('\\nMicrobundle failed, make sure you\\'re using node version 10.16 or higher\\n');process.exit(1)\""
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-design-tokens#readme",
"dependencies": {
"hex2rgba": "^0.0.1"
},
"devDependencies": {
"agadoo": "^1.1.0",
"cross-env": "^7.0.3",
"microbundle": "^0.12.4",
"preval.macro": "^3.0.0"
},
"engines": {
"node": ">=10.13.0"
}
}