forked from infernojs/inferno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 5.45 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
{
"name": "inferno-build",
"private": true,
"license": "MIT",
"author": {
"name": "Dominic Gannaway",
"email": "dg@domgan.com"
},
"bugs": {
"url": "https://github.com/infernojs/inferno/issues"
},
"homepage": "https://github.com/infernojs/inferno#readme",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/infernojs/inferno.git"
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"git add"
],
"*.{ts,tsx}": [
"prettier --parser=typescript --write",
"git add"
]
},
"pre-commit": {
"silent": true,
"run": [
"circularDeps",
"lint",
"test"
]
},
"scripts": {
"benchmarks": "cross-env NODE_ENV=production node docs/build.js",
"benchmarks-dev": "node docs/build.js",
"clean": "lerna exec -- rimraf dist .rpt2_cache_development .rpt2_cache_production package-lock.json",
"circularDeps": "lerna exec -- madge --circular src/index.ts",
"coveralls": "coveralls < coverage/lcov.info || true",
"debug": "node --inspect-brk ./node_modules/jest/bin/jest --runInBand --no-cache --no-watchman",
"prebuild": "npm run clean",
"postbuild": "rimraf build",
"build": "run-p build:** && npm run print:size && npm run move-types",
"build-slow": "run-s build:** && npm run move-types",
"build:tsc": "lerna exec tsc -- --noEmit",
"build:es": "npm run rollup -- --name=index --ext=.esm.js --env=production --format=es --uglify=false",
"build:es:dev": "npm run rollup -- --name=index --ext=.dev.esm.js --env=development --format=es --uglify=false",
"build:esnext": "npm run rollup -- --name=index --ext=.esnext.js --env=production --format=es --esnext=true --uglify=false",
"build:cjs": "npm run rollup -- --env=development --format=cjs --replace=true --name=index.cjs --uglify=false",
"build:cjs:prod": "npm run rollup -- --env=production --format=cjs --replace=true --name=index.cjs --uglify=true --ext=.min.js",
"build:umd:dev": "npm run rollup -- --uglify=false",
"build:umd:prod": "npm run rollup -- --env=production --ext=.min.js",
"predocs": "rimraf docs",
"print:size": "node scripts/bundle-size.js",
"examples": "npm run --prefix examples start",
"lint": "tslint -p tsconfig.json --project",
"lint-staged": "lint-staged",
"move-types": "lerna exec -- node ../../scripts/typings/move.js",
"publish": "lerna publish --exact --force-publish=* --skip-git --skip-npm && npm run build && npm run test && lerna publish --exact",
"prepublishOnly": "npm run build-slow",
"prettier": "npm-run-all prettier:src:*",
"prettier:src:js": "prettier --print-width 160 --single-quote true --write --list-different packages/*/__tests__/**/*.{js,jsx}",
"prettier:src:ts": "prettier --print-width 160 --single-quote true --write --list-different --parser=typescript packages/*/src/**/*.{ts,tsx}",
"prettier:src:fixtures": "prettier --print-width 160 --single-quote true --write --list-different fixtures/**/*.{js,jsx}",
"prettier:src:scripts": "prettier --print-width 160 --single-quote true --write --list-different scripts/**/*.{js,jsx}",
"postinstall": "lerna bootstrap --no-ci",
"rollup": "lerna exec -- node ../../scripts/rollup/build.js",
"test": "npm run test:node && npm run test:browser",
"test:node": "cross-env NODE_ENV=test jest --no-watchman",
"test:coverage": "cross-env NODE_ENV=test jest --runInBand --coverage --no-watchman",
"test:browser": "npm run --prefix fixtures/browser pretest && npm run test:browser:nocompat && npm run test:browser:compat",
"test:browser:compat": "cross-env InfernoCompat=1 npm run --prefix fixtures/browser local",
"test:browser:nocompat": "cross-env InfernoCompat=0 npm run --prefix fixtures/browser local",
"test:browser:debug": "cross-env InfernoCompat=1 npm run --prefix fixtures/browser debug",
"test:browser:sauce": "npm run --prefix fixtures/browser test",
"test:react": "npm run --prefix fixtures/react test -- --forceExit",
"test:package": "node fixtures/packaging/build-all.js"
},
"devDependencies": {
"@babel/core": "^7.4.0",
"@babel/plugin-proposal-class-properties": "7.4.0",
"@babel/preset-env": "7.4.2",
"@babel/preset-typescript": "^7.3.3",
"@types/history": "^4.7.2",
"@types/jest": "^24.0.11",
"@types/node": "^11.11.6",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.5.0",
"babel-plugin-inferno": "6.0.5",
"cli-table": "^0.3.1",
"colors": "^1.3.3",
"concat-stream-es6": "0.0.1",
"coveralls": "^3.0.3",
"cross-env": "^5.2.0",
"d3-scale-chromatic": "^1.3.3",
"filesize": "^4.1.2",
"gzip-size": "^5.0.0",
"history": "^4.9.0",
"jest": "^24.5.0",
"jest-silent-reporter": "^0.1.2",
"jsdom": "14.0.0",
"lerna": "3.13.1",
"lint-staged": "^8.1.5",
"madge": "^3.4.4",
"merge-dirs": "^0.2.1",
"minimist": "^1.2.0",
"mobx": "4.8.0",
"npm-run-all": "^4.1.5",
"perf-monitor": "^0.4.1",
"pre-commit": "^1.2.2",
"prettier": "^1.16.4",
"rimraf": "^2.6.3",
"rollup": "^1.7.0",
"rollup-plugin-alias": "^1.5.1",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-buble": "^0.19.6",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-replace": "^2.1.1",
"rollup-plugin-typescript2": "0.20.1",
"rollup-plugin-uglify": "^6.0.2",
"sinon": "^7.3.0",
"tslint": "^5.14.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "3.3.4000"
}
}