-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
65 lines (65 loc) · 2.37 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
{
"name": "imuter",
"version": "0.8.4",
"description": "Immutable data library",
"homepage": "https://github.com/jbedard/imuter",
"keywords": [
"immutable",
"freeze",
"frozen",
"onpush",
"observable"
],
"main": "./imuter.js",
"browser": "./bundles/imuter.js",
"module": "./es5/imuter.js",
"es2015": "./es2015/imuter.js",
"types": "./imuter.d.ts",
"side-effects": false,
"author": "Jason Bedard",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jbedard/imuter.git"
},
"devDependencies": {
"@types/jasmine": "^3.5.14",
"@types/node": "^14.14.12",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"conventional-changelog-cli": "^2.1.0",
"eslint": "^7.15.0",
"istanbul": "0.4",
"jasmine": "^3.5.0",
"jasmine-core": "^3.5.0",
"karma": "^6.3.2",
"karma-chrome-launcher": "3.1",
"karma-coverage": "2.0",
"karma-jasmine": "^4.0.1",
"karma-typescript": "^5.2.0",
"terser": "^5.3.2",
"tsd": "^0.14.0",
"tslib": "^2.0.0",
"typescript": "^4.0.3"
},
"scripts": {
"build": "yarn clean && yarn lint && yarn test-dts && yarn test && yarn compile && yarn terser && cp package.json *.md LICENSE dist/",
"clean": "rm -Rf dist coverage",
"compile": "yarn compile.es2015 && yarn compile.es5 && yarn compile.amd && yarn compile.commonjs && yarn compile.bundle",
"compile.es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015",
"compile.es5": "tsc --module es2015 --target es5 --outDir dist/es5",
"compile.amd": "tsc --module amd --target es5 --outDir dist/amd",
"compile.commonjs": "tsc --module commonjs --target es5 --outDir dist/",
"compile.bundle": "tsc --module umd --target es5 --outDir dist/bundles",
"terser": "terser --config-file ./terser.config.json --source-map 'content=dist/bundles/imuter.js.map' -o dist/bundles/imuter.min.js dist/bundles/imuter.js",
"test": "karma start karma.conf.js --single-run --browsers ChromeHeadless",
"test-server": "karma start karma.conf.js",
"test-dts": "tsd type-specs",
"lint": "eslint --fix src/*.ts src/**/*.ts",
"changelog": "conventional-changelog --infile ./CHANGELOG.md --same-file --release-count 1 --preset angular",
"publish": "pushd dist && npm publish && popd"
},
"peerDependencies": {
"tslib": "^2.0.0"
}
}