-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
35 lines (35 loc) · 1.79 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
{
"name": "es2015-publish-template",
"version": "0.0.1",
"description": "small typescript library illustrating packaging, modules and consumption",
"author": "Andrew Johnson <[email protected]>",
"main": "dist/cjs_es5/index.js",
"jsnext:main": "dist/es2015/index.js",
"typings": "dist/es2015/index.d.ts",
"private": true,
"scripts": {
"cjs_es5": "tsc --outDir dist/cjs_es5 -t es5 -m commonjs --inlineSourceMap lib/index",
"cjs_es6": "tsc --outDir dist/cjs_es6 -t es6 -m commonjs --inlineSourceMap lib/index",
"cjs": "npm run cjs_es5 && npm run cjs_es6",
"amd_es5": "tsc --outDir dist/amd_es5 -t es5 -m amd --inlineSourceMap lib/index",
"amd_es6": "tsc --outDir dist/amd_es6 -t es6 -m amd --inlineSourceMap lib/index",
"amd": "npm run amd_es5 && npm run amd_es6",
"umd_es5": "tsc --outDir dist/umd_es5 -t es5 -m umd --inlineSourceMap lib/index",
"umd_es6": "tsc --outDir dist/umd_es6 -t es6 -m umd --inlineSourceMap lib/index",
"umd": "npm run umd_es5 && npm run umd_es6",
"system_es5": "tsc --outDir dist/system_es5 -t es5 -m system --inlineSourceMap lib/index",
"system_es6": "tsc --outDir dist/system_es6 -t es6 -m system --inlineSourceMap lib/index",
"system": "npm run system_es5 && npm run system_es6",
"es2015": "tsc --outDir dist/es2015 -t es6 -m es2015 -d --inlineSourceMap lib/index",
"global": "jspm bundle-sfx lib/index dist/global/index.bundled.js --format global",
"test": "tsc -t es6 -m system --outFile dist/es2015-publish-template.d.ts -d lib/index",
"clean": "rm dist -R",
"build-all": "npm run clean && npm run cjs && npm run amd && npm run umd && npm run system && npm run es2015 && npm run global"
},
"jspm": {
"main": "dist/es2015/index.js",
"dependencies": {
"typescript": "npm:typescript@^1.8.7"
}
}
}