-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
60 lines (60 loc) 路 1.69 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
{
"name": "@openfun/cunningham-tokens",
"private": false,
"version": "0.5.0",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"bin": {
"cunningham": "./dist/bin/Main.js"
},
"main": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts",
"exports": {
"./default-tokens": "./dist/cunningham-tokens.css",
".": {
"require": "./dist/lib/index.js",
"import": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts"
}
},
"files": [
"dist/"
],
"scripts": {
"lint": "eslint . 'src/**/*.{ts,tsx}'",
"dev": "nodemon --watch 'src/bin' --ext '*' --exec 'yarn build'",
"build-bin": "cd src/bin && tsc -p tsconfig.json && tsc-alias && chmod +x ../../dist/bin/Main.js",
"build-lib": "cp dist/cunningham-tokens.ts src/lib && cd src/lib && tsc -p tsconfig.json",
"build": "yarn build-bin && yarn build-default-theme && yarn build-lib && cd ../.. && ln -sf ../../packages/tokens/dist/bin/Main.js node_modules/.bin/cunningham",
"build-default-theme": "./dist/bin/Main.js -o dist -s html -g scss,css,js,ts --utility-classes",
"test": "FORCE_COLOR=1 jest --runInBand --verbose src"
},
"dependencies": {
"chalk": "4.1.2",
"commander": "11.0.0",
"deepmerge": "4.3.1",
"figlet": "1.6.0",
"ts-node": "10.9.1"
},
"devDependencies": {
"@types/figlet": "1.5.6",
"@types/jest": "29.5.2",
"@types/node": "18.16.18",
"eslint-config-custom": "*",
"jest": "29.5.0",
"nodemon": "2.0.22",
"prettier": "2.8.8",
"ts-jest": "29.1.0",
"tsc-alias": "1.8.6",
"typescript": "5.1.3"
},
"engines": {
"node": ">=16.0.0"
},
"volta": {
"node": "18.16.1",
"yarn": "1.22.19"
}
}